CloudDM 4.8.0 adds GreptimeDB as a DataSource
Skip to main content

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.

RoleMain responsibilities
Database AdministratorData queries, database operations, query settings, security rules, ticket handling, and account and DataSource management
DeveloperExporting query results, managing database objects, running CI/CD operations, submitting tickets, and viewing or modifying personal access keys (AK/SK)
Project AdministratorManaging CI/CD workflows, messaging services, and Git Ops, and viewing or modifying personal access keys (AK/SK)
System AdministratorSystem 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​

  1. Open Management > Role.
  2. Click Create Role.
  3. Enter the role information.
  4. Select the features the role needs in the feature permissions tree.
  5. 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.