Manage roles

To manage roles click on the top menu   Authentication button and then click on the submenu Roles link.

By default, the application manages users and roles in its own database.

It is also possible to connect the application to an external directory (LDAP directory, for instance).

Also, the login module can be extended to create your own login adapter. More information about it Creating your own login module.

When the application is connected to LDAP, the manage roles view is automatically set to read-only mode. Almost all actions are disabled.

Roles are shown in a table structure.

Id

Active

Actions

Role parameters:

FieldDescriptionRequired
Id

The id of the role.

Two roles can't have the same id.

true

Active

Indicates whether the role is enabled. true

Action

Available actions:

  •  Edit a role.
  •  Delete a role.
  •  Set a role tenant.
 

Create a role

  • On the top right in the table, click on the New role icon.
  • Fill in all the fields.
  • Click on the Create button.

Edit a role

  • Click on the Edit role icon.
  • Modify the fields.
  • Click on the Edit button.

Role ID cannot be modified to prevent repository security inconsistencies. This operation can only be done at the database level.

Delete a role

  • Click on the Delete role icon.
  • Click on the Delete button.

Export the roles

  • On the top right click on the  Export roles icon.
  • The application will download a CSV file.