Updated on 2025-01-07 GMT+08:00

Role Management

This section describes how to create one or more roles and grant different permissions to each role.

Procedure

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.
  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. On the top menu bar, choose Account Management > Role Management.
  7. Select the database for which the roles are to be created and click Add Roles.
  8. Enter a role name.
  9. On the Permission tab page, click Add Privileges. In the displayed dialog box, specify required parameters and click Add.

  10. (Optional) On the Role tab page, click Add Roles. On the displayed page, select the roles you want to add and click Add.
  11. After setting the roles, click Save.

    If a role is created for the admin database, you can select other databases when adding permissions or roles, to grant the permissions of other databases to this role. Users with this role have the permissions to operate the selected database.