nl_tokens: build a list of all roles and inherits
pl_tokens: function buildAllRoles ( all , roles ) { all . push ( ... roles ) ; _ . forEach ( roles , function ( role ) { // check if have inherits if ( ROLE_INHERIT [ role ] ) { all = buildAllRoles ( <mask> , ROLE_INHERIT [ role ] ) ; } } ) ; return all ; }