nl_tokens: Assigns role access to users
pl_tokens: function assignRolesToUsers ( doc , oldDoc , accessAssignmentDefinition ) { var users = resolveCollectionDefinition ( doc , oldDoc , accessAssignmentDefinition . users ) ; var roles = resolveRoleCollectionDefinition ( doc , oldDoc , accessAssignmentDefinition . roles ) ; role ( <mask> , roles ) ; return { type : 'role' , users : users , roles : roles } ; }