Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(frontend): allow DBAs to manage risk center and custom approval (#5318)

Liu Ji851fd9233f76
diff --git a/frontend/src/components/Issue/IssueHighlightPanel.vue b/frontend/src/components/Issue/IssueHighlightPanel.vue
index 7044f42168..bd4882c254 100644
--- a/frontend/src/components/Issue/IssueHighlightPanel.vue
+++ b/frontend/src/components/Issue/IssueHighlightPanel.vue
@@ -128,6 +128,8 @@ const showReviewButton = computed(() => {
});
const showRolloutButton = computed(() => {
+ if (create.value) return true;
+
return reviewDone.value;
});
diff --git a/frontend/src/utils/role.ts b/frontend/src/utils/role.ts
index ecae35ee46..de3c1456bc 100644
--- a/frontend/src/utils/role.ts
+++ b/frontend/src/utils/role.ts
@@ -49,7 +49,7 @@ export const WORKSPACE_PERMISSION_MATRIX: Map<
["bb.permission.workspace.manage-sso", [false, false, true]],
["bb.permission.workspace.manage-sensitive-data", [false, true, true]],
["bb.permission.workspace.manage-access-control", [false, true, true]],
- ["bb.permission.workspace.manage-custom-approval", [false, false, true]],
+ ["bb.permission.workspace.manage-custom-approval", [false, true, true]],
["bb.permission.workspace.manage-subscription", [false, false, true]],
["bb.permission.workspace.admin-sql-editor", [false, true, true]],
["bb.permission.workspace.audit-log", [false, true, true]],