Skip to main content

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 the permission (german and english)
  • Permission tag defining the group the permission 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 your role
  • Name of the role in the pre-defined languages (german and english)
  • Description of the role explaining the intent behind the role (german and english)

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.