datoit-generate-policy
v0.0.2
Published
Generate a policy for a Datoit API.
Downloads
5
Maintainers
Readme
datoit-generate-policy
This Datoit generator contains the default files for a policy.
This generator can be called with:
$ datoit generate:policy policyName apiName
For example if you want to generate a isAuthenticated
policy for the user
API:
$ datoit generate:policy isAuthenticated user