App skeleton
This commit is contained in:
22
config/policies.js
Normal file
22
config/policies.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Policy Mappings
|
||||
* (sails.config.policies)
|
||||
*
|
||||
* Policies are simple functions which run **before** your actions.
|
||||
*
|
||||
* For more information on configuring policies, check out:
|
||||
* https://sailsjs.com/docs/concepts/policies
|
||||
*/
|
||||
|
||||
module.exports.policies = {
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* Default policy for all controllers and actions, unless overridden. *
|
||||
* (`true` allows public access) *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// '*': true,
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user