Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: [DBOPS-856]: Documenting DBDevOps Schema and Instance related resources and permissions #9024

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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> |

Loading