Permission category | Permission type | Description | Whether security hosting is enabled |
Operation permissions (regular permissions) | Permissions on database instances | The permissions to log on to a database instance. After you obtain the permissions to log on to a database instance, you can use the corresponding database account and password to log on to the database instance. Note The database account and password are managed by relevant owners in your enterprise. | No |
The permissions to view the performance of a database instance. If security hosting is enabled for a database instance, you must obtain the permissions to view the performance of the database instance before you can view performance details. For more information, see View the performance details of a database instance. | Yes |
The permissions to query, export, and change the data of a database instance, excluding the data in sensitive columns and rows for which access control is enabled. |
Permissions on databases | The permissions to query, export, and change the data of a database, excluding the data in sensitive columns and rows for which access control is enabled. |
Permissions on tables | The permissions to query, export, and change the data of a table, excluding the data in sensitive columns and rows for which access control is enabled. |
Permissions on sensitive columns | The permissions to query, export, and change the data of a sensitive column. Note Before you apply for the permissions on a sensitive column, make sure that the following requirements are met: |
Permissions on rows | The permissions to query, export, and change the data of a row. For more information, see Configure row-level access control. Note Before you apply for the permissions on a row, make sure that you have the permissions on the database and table to which the row belongs. |
Permissions on programmable objects | The permissions to query, export, and change the data of a programmable object. If security hosting is enabled for a database instance, you must obtain the permissions on a programmable object before you can query, export, or change the data of the programmable object. For more information, see Change programmable objects by using stored routines. |
Data permissions (resource owner permissions) | Instance owner | The owner permissions on a resource. The owner of a resource can view the users to whom the permissions on the resource are granted, and grant the resource permissions to and revoke the resource permissions from users. The resource can be a database instance, database, or table. In addition, the owner can query the data of the resource, excluding the data in sensitive columns and rows for which access control is enabled. Note If security hosting is disabled for a database instance, only DMS administrators and database administrators (DBAs) can add or remove instance owners. To manage instance owners, perform the following operations: Log on to the DMS console. In the left-side Database Instances section, right-click the database instance that you want to manage and choose . In the dialog box that appears, add or remove instance owners. | Yes |
Database owner |
Table owner |
Metadata access control | Metadata access control | Instance access control: A database instance for which access control is enabled can be queried and accessed only by the users to whom the permissions on the database instance are granted. Unauthorized users cannot apply for the permissions on the database instance. Database access control: A database for which access control is enabled can be queried and accessed only by the users to whom the permissions on the database are granted. Unauthorized users cannot apply for the permissions on the database. User access control: A user for which access control is enabled can query and access only the database instances and databases on which the user has permissions. The user cannot apply for the permissions on other database instances or databases.
Note If you are granted one type of the data permissions or operation permissions on a database instance or database, you have the permissions on the database instance or database. | Yes |