Role Management
This section describes how to create one or more roles and grant different permissions to each role.
Procedure
- Log in to the DAS console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner, and under Databases, click Data Admin Service.
- In the navigation pane on the left, choose Development Tool.
You can also click Go to Development Tool on the overview page.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- On the top menu bar, choose Account Management > Role Management.
- On the role management page, click Create Role in the upper left corner.
- On the Basic Information tab page, enter a role name (mandatory), set a password, and confirm the password.
You can select a role name from role members to grant permissions of an existing role to the current role.
Figure 1 Creating a role
If no password is set for the role (for example, role_03) or Allow Login is not selected for the role, role_03 cannot be used to log in to the database. If the permissions of role_03 are assigned to another role (for example, test_02), test_02 will have all the permissions of role_03.
- (Optional) On the Data Permissions tab page, click Add. In the displayed dialog box, specify details such as the resource type, keyspace name, and permissions as required, confirm the settings, and click OK.
- (Optional) On the Role Permissions tab page, click Add. On the displayed page, specify a resource type, role name, and permissions as required, confirm the settings, and click OK.
- After setting required parameters, click Save. In the preview dialog box, click OK.
- On the role management page, edit, rename, and delete an existing role as required.
- admin, monitor, backupuser, and rwuser are system roles and cannot be edited or deleted.
- Deleted roles cannot be recovered. Exercise caution when performing this operation.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot