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
permission
in the pre-defined languages (german and english) - Description of the
permission
explaining the intent behind thepermission
(german and english) Permission tag
defining the group thepermission
should be displayed within (german and english)
![](/assets/images/example-create-permission-72002c22a99716eb01bbb159329e19cb.png)
Permission tag
is used to display permissions
in groups like this:
![](/assets/images/example-create-permission-list-d4289f7163bfe6f470ef0aa20924141a.png)
Create Role
Roles
can be created similarly to permission
, all you need is to provide the following
Key
uniquely identifying yourrole
Name
of therole
in the pre-defined languages (german and english)Description
of therole
explaining the intent behind therole
(german and english)
![](/assets/images/example-create-role-2d9e76b38ae2be9c5c9c180d3574b314.png)
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.