strapi/packages/strapi-generate-policy
Pierre Burgy 83e6a6bcc4 Merge
2017-09-08 13:46:50 +02:00
..
2017-03-02 12:28:06 +01:00
2016-03-25 22:43:42 +01:00
2017-01-09 13:45:44 +01:00
2017-09-08 13:46:50 +02:00
2016-08-10 11:31:27 +02:00

strapi-generate-policy

npm version npm downloads npm dependencies Build status Slack status

This Strapi generator contains the default files for a policy.

This generator can be called with:

$ strapi generate:policy policyName apiName

For example if you want to generate a isAuthenticated policy for the user API:

$ strapi generate:policy isAuthenticated user

Resources