Skip to content

Commit

Permalink
[feat]: [DBOPS-856]: Documenting DBDevOps Schema and Instance related…
Browse files Browse the repository at this point in the history
… resources and permissions
  • Loading branch information
Abhishek-CDC committed Jan 9, 2025
1 parent 9ea0154 commit 3112cd6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/platform/automation/api/api-permissions-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,3 +410,17 @@ The following permissions allow an API key to manage variables. They are availab
* View variables: `core_variable_view`
* Create/edit variables: `core_variable_edit`
* Delete variables: `core_variable_delete`

## Database DevOps

The following permissions allow an API key to interact with Database DevOps resources. They are available at any [scope](../../role-based-access-control/rbac-in-harness.md#permissions-hierarchy-scopes).

| Permission ID | Description |
|-------------------------|--------------------------|
| `dbops_schema_view` | View Schemas |
| `dbops_schema_edit` | Create or Edit Schemas |
| `dbops_schema_delete` | Delete Schemas |
| `dbops_instance_view` | View Instances |
| `dbops_instance_edit` | Create or Edit Instances |
| `dbops_instance_delete` | Delete Instances |

Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,11 @@ This topic describes permissions relevant to [RBAC in Harness](./rbac-in-harness
| Tokens | <ul><li>View (`cet_token_view`)</li><li>Create/Edit (`cet_token_create`)</li><li>Revoke (`cet_token_revoke`)</li></ul> |
| Critical Events | <ul><li>View (`cet_criticalevent_view`)</li><li>Create/Edit (`cet_criticalevent_create`)</li><li>Delete (`cet_criticalevent_delete`)</li></ul> |
| Agents | <ul><li>View (`cet_agents_view`)</li></ul> |

### Database DevOps

| Resource | Permissions |
|-----------| ----------- |
| Schemas | <ul><li>View (`dbops_schema_view`)</li><li>Create/Edit (`dbops_schema_edit`)</li><li>Delete (`dbops_schema_delete`)</li></ul> |
| Instances | <ul><li>View (`dbops_instance_view`)</li><li>Create/Edit (`dbops_instance_edit`)</li><li>Delete (`dbops_instance_delete`)</li></ul> |

0 comments on commit 3112cd6

Please sign in to comment.