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 thepermissionshould 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 yourroleNameof therolein the pre-defined languages (german and english)Descriptionof theroleexplaining the intent behind therole(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.