[−][src]Module hc_roles_mixin::handlers
Functions
assign_role | Assigns the role with the given name to the given agent Only administrators can assign roles |
create_admin_role | Creates the administrator role in the hApp This function should be called Anyone can create the administrator role |
create_role | Creates the role with the given name Only administrators can create roles |
get_agent_roles | Returns all the roles that the given agent has been assigned to |
get_all_roles | Returns all the roles present in the application |
get_role | Returns the current role entry for the role with the given name This can be used to check all the current members that have been assigned to this role |
unassign_role | Unassigns the role with the given name to the given agent Only administrators can unassign roles |