@akemona-org/strapi-generate-policy
v3.16.2
Published
Generate a policy for a Strapi API.
Downloads
137
Readme
strapi-generate-policy
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