nl_tokens: each crud method calls this and will perform an allow () to ensure the request is appropriate then clean () to ensure that the data is clean
pl_tokens: function performCrudAction ( action , req , res , next ) { allow ( action , req , res , function ( err , isAllowed ) { if ( err ) { return Model . swr . error . serverError ( res ) ; } if ( ! isAllowed ) { return Model . swr . error . forbidden ( res ) ; } switch ( <mask> ) { case options . actions . find : find ( action , req , res , function ( err , result ) { if ( err ) { return Model . swr . error . serverError ( res ) ; } Model . swr . success ( result , res ) ; next ( ) ; } ) ; break ; } } ) ; }