strapi/packages/strapi-generate-policy
2019-01-16 11:49:16 +01:00
..
2018-09-24 12:33:09 -05:00
2018-12-05 15:42:58 +01:00
2019-01-02 09:41:53 +01:00
2019-01-16 11:49:16 +01: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