Authorization

Roles and access permissions

Authorization in ADB Control is based on Role Based Access Control (RBAC). This mechanism allows you to control access to the various functions of the system depending on the role assigned to each user.

Currently, ADB Control supports the following roles:

  • Owner — system owner.

  • Administrator — system administrator.

  • Advanced User — user with advanced permissions.

  • Regular User — ordinary user.

NOTE

For users with the Regular User role, logins are associated with role names (ROLE) in ADB on the basis of a full match, which gives users the permissions to work with certain queries and transactions on the Monitoring page.

The table below shows the distribution of access rights between the abovementioned roles.

Access permissions in ADB Control
Permission Description Regular User Advanced User Administrator Owner

View self queries

Ability to view own transactions and commands (including detailed information on them). These are transactions and queries that are committed in ADB under the role which name matches the user name in ADB Control or belongs to the LDAP group for which a mapping is configured in ADB Control

Yes

Yes

Yes

Yes

Kill self queries

Ability to terminate and cancel own transactions and commands. These are transactions and queries that are committed in ADB under the role which name matches the user name in ADB Control or belongs to the LDAP group for which a mapping is configured in ADB Control

Yes

Yes

Yes

Yes

View some queries

Ability to view the transactions and commands to which a user has relevant permissions (including detailed information)

No

Yes

Yes

Yes

Kill some queries

Ability to terminate and cancel the transactions to which a user has relevant permissions

No

Yes

Yes

Yes

View all queries

Ability to view all transactions and commands (including detailed information)

No

No

Yes

Yes

Kill all queries

Ability to terminate and cancel all transactions

No

No

Yes

Yes

View resource groups

Ability to view all resource groups (including detailed information)

No

No

Yes

Yes

Change resource group configuration

Ability to change resource group configuration

No

No

Yes

Yes

View relation audit page

Ability to view the Audit → Relations page where statistics on the number of access attempts to ADB relations are displayed

No

No

Yes

Yes

View secured relation audit

Ability to view a table with secured statistics on ADB relations in a separate modal window

No

No

Yes

Yes

View Operations audit page

Access to the Audit → Operations page where statistics on launches of various operations in ADB Control is displayed

No

No

Yes

Yes

View Authorization audit page

Access to the Audit → Authorizations page where information on user authorizations in ADB Control/ADB is displayed

No

No

Yes

Yes

View ADB jobs

Access to the Jobs → ADB Control page where information on scheduled (Schedule) and completed (Audit) jobs in ADB Control is displayed

No

No

Yes

Yes

View backup manager jobs

Access to the Jobs → Backup Manager page where information on scheduled (Schedule) and completed (Audit) jobs in ADB Backup Manager is displayed

No

No

Yes

Yes

View backup manager page

Access to the Backup Manager page with the ability to view information on clusters, actions, backups, and restores

No

No

Yes

Yes

Run backup manager actions

Ability to run actions in ADB Backup Manager

No

No

Yes

Yes

Create backup manager configuration

Ability to create and edit configurations in ADB Backup Manager

No

No

Yes

Yes

View ADB information page

Access to the Information → ADB Control page where the current status of ADB Control components is displayed

No

No

Yes

Yes

View backup manager information page

Access to the Information → Backup Manager page where the current status of ADB Backup Manager components is displayed

No

No

Yes

Yes

View configuration page

Access to the Configuration page with the ability to manage clusters and configure policies for jobs and security

No

No

No

Yes

View users page

Access to the Users page with the ability to manage users (create, edit, block, delete), set mappings with LDAP groups, and set advanced permissions

No

No

No

Yes

View sessions

Access to the Monitoring → Sessions page functionality

No

No

Yes

Yes

Manage user sessions

Ability to terminate sessions of ADB Control users on the Users → Active sessions page

No

No

Yes

Yes

Configure role mappings with LDAP groups

If basic authentication is used, roles are assigned to users at the creation step. However, if LDAP authentication is configured, you need to map user groups of the selected LDAP server to roles in ADB Control. It allows users to get appropriate permissions in the monitoring system.

You can manage such mappings on the Users → LDAP group mapping tab in the ADB Control web interface.

adbc ldap3 dark
Users → LDAP group mapping tab
adbc ldap3 light
Users → LDAP group mapping tab

Add a mapping

To add a new mapping, follow the steps:

  1. Click Create new mapping on the Users → LDAP group mapping tab.

    adbc ldap2 dark
    Switch to adding a mapping
    adbc ldap2 light
    Switch to adding a mapping
  2. In the window that opens, fill in the following fields:

    • Group — a user group name on the LDAP server. A drop-down list with group names becomes available after the LDAP authentication is successfully configured.

    • Role — a role in ADB Control.

      IMPORTANT

      Each LDAP group can be mapped only to one role in ADB Control.

      adbc ldap4 dark
      Fill in the fields
      adbc ldap4 light
      Fill in the fields
  3. Click Save. As a result, a new mapping is displayed on the Users → LDAP group mapping tab.

    adbc ldap5 dark
    Mapping is added
    adbc ldap5 light
    Mapping is added

Edit a mapping

To edit an existing mapping, follow the steps:

  1. Click the edit dark edit light icon in the Actions column on the Users → LDAP group mapping tab.

    adbc ldap6 dark
    Switch to editing a mapping
    adbc ldap6 light
    Switch to editing a mapping
  2. In the window that opens, edit necessary fields. All fields are the same as described above. The Group field value cannot be changed.

    adbc ldap7 dark
    Edit a mapping
    adbc ldap7 light
    Edit a mapping
  3. Click Save. As a result, the mapping data is updated on the Users → LDAP group mapping tab.

    adbc ldap8 dark
    Mapping is updated
    adbc ldap8 light
    Mapping is updated

Delete a mapping

To delete an existing mapping, follow the steps:

  1. Click the delete dark delete light icon in the Actions column on the Users → LDAP group mapping tab.

    adbc ldap9 dark
    Switch to deleting a mapping
    adbc ldap9 light
    Switch to deleting a mapping
  2. In the window that opens, confirm the operation by clicking Delete.

    adbc ldap10 dark
    Confirm the operation
    adbc ldap10 light
    Confirm the operation

    As a result, the mapping is removed from the Users → LDAP group mapping tab.

    adbc ldap11 dark
    Mapping is removed
    adbc ldap11 light
    Mapping is removed

Actualize LDAP group names

NOTE

If LDAP authentication is configured, LDAP groups are synchronized automatically each time when ADB Control is being started. The following feature is designed for on-demand updates of LDAP group names.

Starting with ADB Control 4.7.5, you can actualize LDAP group names in the previously created mappings by running synchronization with an LDAP server on the Users → LDAP group mapping page. To run synchronization:

  1. Ensure that LDAP authentication for ADB Control is successfully configured and ADB Control roles are mapped to LDAP groups on the Users → LDAP group mapping page.

  2. Click Actualise.

    Go to actualization of LDAP group names
    Go to actualization of LDAP group names
    Go to actualization of LDAP group names
    Go to actualization of LDAP group names
  3. Read the information in the window that opens and confirm the action by clicking Actualise.

    Confirm the action
    Confirm the action
    Confirm the action
    Confirm the action

Set advanced permissions

Users with the Advanced User role can be granted extended access rights to specific ADB databases. With such rights, users are able to view all transactions and commands running in the respective databases (regardless of who launched them) and interrupt or cancel them if necessary (see View some queries and Kill some queries permissions in the table above).

You can manage such advanced permissions on the Users → Access tab in the ADB Control web interface.

adbc access dark
Users → Access tab
adbc access light
Users → Access tab

Add a permission

To add a new permission, follow the steps:

  1. Click Permit access on the Users → Access tab.

    adbc access2 dark
    Switch to adding a permission
    adbc access2 light
    Switch to adding a permission
  2. In the window that opens, fill in the following information:

    • In the Username field, specify one or several users. To add each user, add a user name and then click +. As a result, a list of users is displayed under the Username field. You can delete wrong records if necessary.

      adbc access3 dark
      Enter user names
      adbc access3 light
      Enter user names
    • In the Clusters section, select ADB clusters and databases to be accessed by the users added in the previous step. To select all clusters with all databases, set the Select all flag (it is set by default).

      adbc access4 dark
      Select clusters and databases
      adbc access4 light
      Select clusters and databases
  3. Click Save. As a result, a new permission is displayed on the Users → Access tab.

    adbc access5 dark
    Permission is added
    adbc access5 light
    Permission is added

Edit a permission

To edit an existing permission, follow the steps:

  1. Click the edit dark edit light icon in the Actions column on the Users → Access tab.

    adbc access6 dark
    Switch to editing a permission
    adbc access6 light
    Switch to editing a permission
  2. In the window that opens, edit necessary fields. All fields are the same as described above. The Username field value cannot be changed.

    adbc access7 dark
    Edit a permission
    adbc access7 light
    Edit a permission
  3. Click Save. As a result, the permission data is updated on the Users → Access tab.

    adbc access8 dark
    Permission is updated
    adbc access8 light
    Permission is updated

Delete a permission

To delete an existing permission, follow the steps:

  1. Click the delete dark delete light icon in the Actions column on the Users → Access tab.

    adbc access9 dark
    Switch to deleting a permission
    adbc access9 light
    Switch to deleting a permission
  2. In the window that opens, confirm the operation by clicking Delete.

    adbc access10 dark
    Confirm the operation
    adbc access10 light
    Confirm the operation

    As a result, permission is removed from the Users → Access tab.

    adbc access11 dark
    Permission is removed
    adbc access11 light
    Permission is removed
Found a mistake? Seleсt text and press Ctrl+Enter to report it