Skip to content

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

chore: allow DBA / OWNER to change issue assignee (#5688)

Liu Ji3bda07b90e2c
diff --git a/frontend/src/components/Issue/logic/assignee.ts b/frontend/src/components/Issue/logic/assignee.ts
index 167627a674..6ad85e04c7 100644
--- a/frontend/src/components/Issue/logic/assignee.ts
+++ b/frontend/src/components/Issue/logic/assignee.ts
@@ -114,6 +114,11 @@ export const allowUserToChangeAssignee = (user: Principal, issue: Issue) => {
if (issue.status !== "OPEN") {
return false;
}
+ if (
+ hasWorkspacePermission("bb.permission.workspace.manage-issue", user.role)
+ ) {
+ return true;
+ }
if (issue.assignee.id === SYSTEM_BOT_ID) {
return user.id === issue.creator.id;
}