Updated on 2024-08-29 GMT+08:00

User Management

Multiple users with different permissions can be created to access a DB instance or database, but the permissions of these users cannot exceed the operation permissions of the account.

Creating a User

  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.

    You can also click Go to Development Tool on the overview page.

  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 > User Management.

    Figure 1 User list

  7. Click Create User. On the displayed page, enter the user information, such as basic information, basic permissions, extended permissions, and schema (optional), and select the read policy type.

    Figure 2 Creating a user
    Table 1 Basic permissions

    Permission

    Description

    CREATE

    Permission to create databases for a specified object.

    DROP

    Permission to delete databases for a specified object.

    ALTER

    Permission to modify databases for a specified object.

    INDEX

    Permission to query indexes of a specified object.

    INSERT

    Permission to insert data into a specified object.

    DELETE

    Permission to delete data from a specified object.

    UPDATE

    Permission to update data of a specified object.

    SELECT

    Permission to query data of a specified object.

  8. Ensure that the settings are correct and click Save.

Editing a User

  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.

    You can also click Go to Development Tool on the overview page.

  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 > User Management.
  7. In the user list, locate the user whose information you want to edit and click Edit in the Operation column.
  8. On the displayed page, edit basic information, basic permissions and extended permissions, and click Save.

Deleting a User

  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.

    You can also click Go to Development Tool on the overview page.

  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 > User Management.
  7. In the user list, locate the user that you want to delete and click Delete in the Operation column.
  8. In the displayed dialog box, click Yes.