From 3112cd6811a41b1641b9a63353649f308309e594 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Thu, 9 Jan 2025 14:51:42 +0530 Subject: [PATCH] [feat]: [DBOPS-856]: Documenting DBDevOps Schema and Instance related resources and permissions --- .../automation/api/api-permissions-reference.md | 14 ++++++++++++++ .../permissions-reference.md | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/docs/platform/automation/api/api-permissions-reference.md b/docs/platform/automation/api/api-permissions-reference.md index 938af84604f..9ad059b09b8 100644 --- a/docs/platform/automation/api/api-permissions-reference.md +++ b/docs/platform/automation/api/api-permissions-reference.md @@ -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 | + diff --git a/docs/platform/role-based-access-control/permissions-reference.md b/docs/platform/role-based-access-control/permissions-reference.md index ef325ed1664..1a45481aa7a 100644 --- a/docs/platform/role-based-access-control/permissions-reference.md +++ b/docs/platform/role-based-access-control/permissions-reference.md @@ -187,3 +187,11 @@ This topic describes permissions relevant to [RBAC in Harness](./rbac-in-harness | Tokens | | | Critical Events | | | Agents | | + +### Database DevOps + +| Resource | Permissions | +|-----------| ----------- | +| Schemas | | +| Instances | | +