Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
docs: more comment on issue permission (#3369)
Tianzhou (天舟)e5ae56f34054
diff --git a/frontend/src/components/Issue/BatchIssueActions.vue b/frontend/src/components/Issue/BatchIssueActions.vueindex 84af295baa..3cbe647f84 100644--- a/frontend/src/components/Issue/BatchIssueActions.vue+++ b/frontend/src/components/Issue/BatchIssueActions.vue@@ -191,7 +191,10 @@ const getApplicableIssueStatusTransitionList = (const actionList: IssueStatusTransitionType[] = [];// The current user is the assignee of the issue- // or the assignee is SYSTEM_BOT and the current user can manage issue+ // or the assignee is SYSTEM_BOT and the current user can manage issue.+ // Users with manage issue permission can change the assignee. If they do+ // want to change the issue status, we require them to first change the assignee+ // and then change the issue status to avoid accidental click.const isAssignee =currentUser.value.id === issue.assignee?.id ||(issue.assignee?.id == SYSTEM_BOT_ID &&diff --git a/frontend/src/utils/role.ts b/frontend/src/utils/role.tsindex 26380b9035..f6f909cf57 100644--- a/frontend/src/utils/role.ts+++ b/frontend/src/utils/role.ts@@ -5,7 +5,7 @@ export type WorkspacePermissionType =| "bb.permission.workspace.debug"| "bb.permission.workspace.manage-environment"| "bb.permission.workspace.manage-instance"- // Change issue assignee, approve issue, view all issues+ // Change issue assignee, change issue status, view all issues| "bb.permission.workspace.manage-issue"| "bb.permission.workspace.manage-label"| "bb.permission.workspace.manage-project"