sails-permissions
sails-permissions copied to clipboard
Unknown policy
I tried to install sails-permissions on a fresh sailsjs install, and I've got this error:
error: Unknown policy, "basicauth", referenced in `config.policies`.
error: Are you sure that policy exists?
error: It would be located at: `/home/sylvainlap/DEV/WORKSPACE/permissions/api/policies/basicauth.js`
I followed the README: npm install sails-permissions sails-auth
So I use the last versions of sails-auth & sails-permissions.
I think it's a bug with the generator. I just created the missing policy myself.
error: Unknown policy, "basicauth", referenced in `config.policies`.
error: Are you sure that policy exists?