Manage users

Updated at:
Copy as MD

Agent Data Gateway uses a role-based system to control platform access. This topic describes how to view the user list, understand user roles, and manage users.

Access user management

  1. Log on to the AI-Native Database Service console.

  2. In the left-side navigation pane, click Data Gateway to open the Agent Data Gateway console.

  3. In the left-side navigation pane, click User Management.

View the user list

The User Management page displays all users registered on Agent Data Gateway. The following table describes the columns on this page.

Column

Description

UID

The unique identifier of the user.

Username

The logon name of the user.

User ID

The internal identifier of the user in Agent Data Gateway.

Role

The role assigned to the user. A user can hold multiple roles. The following roles are supported:

  • Administrator: Has full management permissions on Agent Data Gateway, including data sources, users, access tokens, and security configurations.

  • Regular user: Can access authorized data sources through Agent Data Gateway, and view personal permissions and operation records.

Status

The activation status of the user.

Source

The identity source of the user, such as aliyun_ram.

Created At

The time when the user record was created.

Operations

You can perform the following operations on users:

  • Search: Enter a username keyword in the search box at the top of the page to search for users.

  • Filter: Click Filter next to the search box to filter the user list by specific criteria.

  • Grant permissions: In the Actions column of the target user, click the Grant Permissions icon icon. In the Authorization dialog box, configure the permission settings, and then click Submit.

    Parameter

    Description

    Resource Scope

    The granularity level at which permissions are granted. Valid values: Instance, Database, and Table.

    Instance

    This parameter is available when Resource Scope is set to Instance. Select or search for an instance from the drop-down list.

    Database

    This parameter is available when Resource Scope is set to Database or Table. Select or search for a database from the drop-down list.

    Table

    This parameter is available when Resource Scope is set to Table. Select a table from the drop-down list.

    Permission Type

    The type of permission to grant. Valid values: Query and Modify.

    Validity Period

    The validity period of the permission. If you leave this parameter empty, the permission remains valid permanently.

  • View permissions: In the Actions column of the target user, click the View Permissions icon icon to view the permissions that are granted to the user.

  • Change roles: In the Actions column of the target user, click the Change Roles icon icon. In the dialog box, modify the role of the user, and then click Save.