Create Roles / Permissions
The idea/concept behind roles/permissions is explained here.
azuma doa allows the definition of application specific roles and permissions.
Example
In the previous example, we created a new application with the short key TSTAPP.
Therefore, our roles and permissions need to be prefixed with tstapp.
Create Permission
To create a permission in azuma doa, you need to provide the following
- Key uniquely identifying your permission
- Name of the permissionin the pre-defined languages (german and english)
- Description of the permissionexplaining the intent behind thepermission(german and english)
- Permission tagdefining the group the- permissionshould be displayed within (german and english)
 
Permission tag is used to display permissions in groups like this:
 
Create Role
Roles can be created similarly to permission, all you need is to provide the following
- Keyuniquely identifying your- role
- Nameof the- rolein the pre-defined languages (german and english)
- Descriptionof the- roleexplaining the intent behind the- role(german and english)
 
Link Permission to Role
Once created, roles and permissions need to be mapped together.
This is achieved by assigning permissions to roles:
info
You can assign permissions to multiple roles if that fits your use case.