..
2021-04-29 13:51:12 +02:00
2021-04-29 12:03:54 +02:00
2021-04-29 12:03:54 +02:00
2021-04-29 12:03:54 +02:00
2021-04-29 12:03:54 +02:00
2021-04-29 12:03:54 +02:00
2021-04-29 12:03:54 +02:00
2021-04-29 12:03:54 +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