Commonly used sails policy
npm install sails_policy --save or yarn add sails_policy --save
api/policies/isAuth.coffee
policy = require 'sails_policy'
module.exports = policy.isAuth
Commonly used sails policy
npm install sails_policy --save or yarn add sails_policy --save
api/policies/isAuth.coffee
policy = require 'sails_policy'
module.exports = policy.isAuth
npm i sails_policy
2
0.0.4
MIT
392 kB
31