nl_tokens: Assert access to this acl s action with role ( s )
pl_tokens: function ( roles , <mask> ) { var self = this ; if ( ! action ) { action = roles ; roles = [ '*' ] ; } if ( ! Array . isArray ( roles ) ) { roles = [ roles ] ; } roles . push ( '*' ) ; var matches = _ . filter ( roles , function ( role ) { var actions = self . permissions [ role ] || self . permissions [ '*' ] ; return actions . indexOf ( action ) !== - 1 || actions . indexOf ( '*' ) !== - 1 ; } ) ; return matches . length > 0 ; }