Skip to content

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

fix(frontend): default assign to DBA/owner when MANUAL_APPROVAL_NEVER (#5328)

Liu Jicc86b656c15d
diff --git a/frontend/src/plugins/issue/logic/initialize/assignee.ts b/frontend/src/plugins/issue/logic/initialize/assignee.ts
index 09a9fcd35f..d06e7f0ecf 100644
--- a/frontend/src/plugins/issue/logic/initialize/assignee.ts
+++ b/frontend/src/plugins/issue/logic/initialize/assignee.ts
@@ -25,9 +25,9 @@ export const tryGetDefaultAssignee = async (issueCreate: IssueCreate) => {
if (payload.value === "MANUAL_APPROVAL_NEVER") {
// We don't need to approve manually.
- // But we still set the project owner as the default assignee.
+ // But we still set the workspace owner or DBA as the default assignee.
// Just to notify the project owner.
- assignToProjectOwner(issueCreate);
+ assignToWorkspaceOwnerOrDBA(issueCreate);
return;
}
if (payload.value === "MANUAL_APPROVAL_ALWAYS") {