Set table permissions

更新时间:
复制 MD 格式

EMAS Serverless automatically assigns a default permission rule to each new table. By default, this rule grants read permissions to all users and write permissions only to administrators. You can modify this rule to manage permissions for the table.

Prerequisites

  • Ensure that you are familiar with the database permission rules for the EMAS Serverless service.

  • EMAS Serverless provides five patterns at the collection granularity to configure access policies. These include four preset patterns and a custom pattern that lets you control database permissions by editing JSON. For more information, see Database permission management.

Procedure

  1. Log on to the EMAS Management Console, select Serverless, and then click Enter to open the Serverless console.

  2. In the navigation pane on the left, select ApsaraDB.

  3. On the ApsaraDB page, click the table you want to configure.

  4. On the table settings page, click the Permissions tab, click Edit Permissions, and then select an access policy.

    For more information about the preset permission patterns and the syntax requirements for custom JSON permission rules, see Database permission management.

  5. Click OK.