nl_tokens: Wipe everything and ( re ) load middleware from policies ( policies . js config is already loaded at this point )
pl_tokens: function ( cb ) { // Load policy modules sails . <mask> . verbose ( 'Loading policy modules from app...' ) ; sails . modules . loadPolicies ( function modulesLoaded ( err , modules ) { if ( err ) return cb ( err ) ; _ . extend ( this . middleware , modules ) ; //console.log('sails.middleware.policies', sails.middleware.policies); return cb ( ) ; } . bind ( this ) ) ; }