As per @pragathyt95
, sails generate policy [policy-name] is not working. After trying to navigate to Sails' Documentation, it led me to a dead link, which could mean that it's no longer there.
The concept and everything else will still work as they should! All what you need to do is manually creating the policy inside api/policies/<policy_name.js>
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
As per @pragathyt95 ,
sails generate policy [policy-name]
is not working. After trying to navigate to Sails' Documentation, it led me to a dead link, which could mean that it's no longer there.The concept and everything else will still work as they should! All what you need to do is manually creating the policy inside
api/policies/<policy_name.js>