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)
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
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)
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.