This topic describes how to manage permissions on databases and tables.
Usage note
If instances are managed in Security Collaboration mode, permissions on databases and tables are available.
If instances are not managed in Security Collaboration mode, users can only log on to the instances.
Data owners can grant and revoke user permissions on databases and tables that they own.
Administrators and database administrators (DBAs) can grant and revoke permissions on databases and tables to users that belong to the current Database Management (DMS) tenant.
Manage permissions on databases and tables by using the instance management feature
Manage permissions as data owners, administrators, and DBAs
- Log on to the DMS console V5.0.
In the top navigation bar, choose .
NoteIf you use the DMS console in simple mode, move the pointer over the
icon in the upper-left corner of the DMS console and choose .
On the Database List tab, find the database that you want to manage. In the Actions column, choose .
Manage permissions on databases, tables, and columns.
Revoke permissions
Select the user from which you want to revoke permissions and click Recycle Permission above the user list. In the dialog box that appears, configure the Permission parameter and click OK.
Grant permissions
Grant permissions on databases
Click Grant Permissions on Database. In the dialog box that appears, select the user to whom you want to grant permissions, and configure the Permission and Expire Date parameters. Then, click OK.
Grant permissions on tables
Click Grant Permissions on Table. In the dialog box that appears, select the table and the user to whom you want to grant permissions, and configure the Permission and Expire Date parameters. Then, click OK.
NoteThe users to which you want to grant permissions must already exist in DMS. For more information about how to add a user, see Manage users.
Manage permissions as common users
Common users can only release existing permissions on databases and tables.
- Log on to the DMS console V5.0.
In the top navigation bar, click Security and Specifications. In the left-side navigation pane, choose Permission Center Permissions.
NoteIf you use the DMS console in simple mode, move the pointer over the
icon in the upper-left corner of the DMS console and choose .
On the Ordinary Permissions tab, click the first drop-down list and select the permission type to be released.
Select the resource on which you want to release permissions and click Release Permission. In the dialog box that appears, configure the Permission parameter and click OK.
Manage permissions on databases and tables by using the user management feature
Only administrators can manage permissions by using the user management feature.
- Log on to the DMS console V5.0.
In the top navigation bar, click O&M. In the left-side navigation pane, click Users.
NoteIf you use the DMS console in simple mode, move the pointer over the
icon in the upper-left corner of the DMS console and choose All functions > O&M > Users.
Manage permissions on instances, databases and tables for users.
Revoke permissions
Find the user whose permissions you want to revoke, move the pointer over
in the Actions column, and then select Permission Details.On the Ordinary Permissions tab, click the first drop-down list and select the permission type that you want to revoke.
Select the resource on which you want to release permissions and click Release Permission. In the dialog box that appears, configure the Permission parameter and click OK.
Grant permissions
NoteThe users to whom you want to grant permissions must already exist in DMS. For more information about how to add a user, see Manage users.
Move the pointer over Authorize in the Actions column.
Select the resource type to which you want to grant permissions.
In the Authorize instance dialog box, configure the Permission and Expire Date parameters, and click OK.
Manage permissions on databases and tables by using permission templates
Administrators or DBAs can create permission templates to manage databases and tables that serve similar purposes in batch. This improves ease-of-use and resolves the issue of duplicate authorization caused by large numbers of users and databases.
For more information, see Create a permission template.