Roles and permissions
CloudDM uses two kinds of permissions.
- Feature permissions come from roles and determine which product features the account can use.
- Resource permissions are configured in Management > Accounts > Authorize. They determine which database resources the account can access and which operations it can perform on them.
Built-in roles
Open Management > Role to view these built-in roles.
| Role | Main responsibilities |
|---|---|
| Database Administrator | Data queries, database operations, query settings, security rules, ticket handling, and account and DataSource management |
| Developer | Exporting query results, managing database objects, running CI/CD operations, submitting tickets, and viewing or modifying personal access keys (AK/SK) |
| Project Administrator | Managing CI/CD workflows, messaging services, and Git Ops, and viewing or modifying personal access keys (AK/SK) |
| System Administrator | System management tasks covered by the Database Administrator and Project Administrator roles |
Built-in roles are read-only. For custom roles, your account permissions determine whether Details, Modify, and Delete are available.
Create a custom role
- Open Management > Role.
- Click Create Role.
- Enter the role information.
- Select the features the role needs in the feature permissions tree.
- Save the role. Assign it when you create or edit an account.
Feature permission categories
- Data Query covers the query console, result exports, object management, and database operations.
- CI/CD change flows lets users view, manage, and run change flows.
- Query settings covers query configuration, SSH tunnels, query machines, security rules, and rule templates.
- Tickets lets users view, submit, approve, and execute tickets.
- System settings covers subaccounts, roles, environments, operation audits, messaging integrations, preferences, Git Ops, third-party settings, and SQL audits.
- DataSource management covers viewing and managing DataSources.
To let an account use a feature on a specific instance, database, schema, or table, also grant the required resource permissions.