mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 01:07:27 +00:00

Add .editorconfig, .snyk, __tests__, jest.config.js Remove .npmignore and .gitignore from admin subdirectories Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
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