Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Hide quickaction.bb.database.troubleshoot from team/free version
天舟8e2dd6a5d9f4
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.tsindex 37f449c9fb..5c5d70c66b 100644--- a/frontend/src/router/index.ts+++ b/frontend/src/router/index.ts@@ -82,42 +82,57 @@ const routes: Array<RouteRecordRaw> = [name: HOME_MODULE,meta: {quickActionListByRole: () => {- const developerList: QuickActionType[] = store.getters[+ const ownerList: QuickActionType[] = store.getters["plan/feature"]("bb.dba-workflow")? ["quickaction.bb.database.schema.update",- "quickaction.bb.database.request",+ "quickaction.bb.database.create","quickaction.bb.database.troubleshoot",+ "quickaction.bb.instance.create","quickaction.bb.project.create",+ "quickaction.bb.user.manage",]: ["quickaction.bb.database.schema.update","quickaction.bb.database.create",+ "quickaction.bb.instance.create","quickaction.bb.project.create",+ "quickaction.bb.user.manage",];- return new Map([- [- "OWNER",- [+ const dbaList: QuickActionType[] = store.getters[+ "plan/feature"+ ]("bb.dba-workflow")+ ? ["quickaction.bb.database.schema.update","quickaction.bb.database.create","quickaction.bb.database.troubleshoot","quickaction.bb.instance.create","quickaction.bb.project.create",- "quickaction.bb.user.manage",- ],- ],- [- "DBA",- [+ ]+ : ["quickaction.bb.database.schema.update","quickaction.bb.database.create",- "quickaction.bb.database.troubleshoot","quickaction.bb.instance.create","quickaction.bb.project.create",- ],- ],+ ];+ const developerList: QuickActionType[] = store.getters[+ "plan/feature"+ ]("bb.dba-workflow")+ ? [+ "quickaction.bb.database.schema.update",+ "quickaction.bb.database.request",+ "quickaction.bb.database.troubleshoot",+ "quickaction.bb.project.create",+ ]+ : [+ "quickaction.bb.database.schema.update",+ "quickaction.bb.database.create",+ "quickaction.bb.project.create",+ ];+ return new Map([+ ["OWNER", ownerList],+ ["DBA", dbaList],["DEVELOPER", developerList],]);},@@ -437,33 +452,45 @@ const routes: Array<RouteRecordRaw> = [meta: {title: () => "Database",quickActionListByRole: () => {- const developerList: QuickActionType[] = store.getters[+ const ownerList: QuickActionType[] = store.getters["plan/feature"]("bb.dba-workflow")? ["quickaction.bb.database.schema.update",- "quickaction.bb.database.request",+ "quickaction.bb.database.create","quickaction.bb.database.troubleshoot",]: ["quickaction.bb.database.schema.update","quickaction.bb.database.create",];- return new Map([- [- "OWNER",- [+ const dbaList: QuickActionType[] = store.getters[+ "plan/feature"+ ]("bb.dba-workflow")+ ? ["quickaction.bb.database.schema.update","quickaction.bb.database.create",- ],- ],- [- "DBA",- [+ "quickaction.bb.database.troubleshoot",+ ]+ : ["quickaction.bb.database.schema.update","quickaction.bb.database.create",- ],- ],+ ];+ const developerList: QuickActionType[] = store.getters[+ "plan/feature"+ ]("bb.dba-workflow")+ ? [+ "quickaction.bb.database.schema.update",+ "quickaction.bb.database.request",+ "quickaction.bb.database.troubleshoot",+ ]+ : [+ "quickaction.bb.database.schema.update",+ "quickaction.bb.database.create",+ ];+ return new Map([+ ["OWNER", ownerList],+ ["DBA", dbaList],["DEVELOPER", developerList],]);},