Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: hide setting if not has permission (#11153)
ecmadao2759d3031e67
diff --git a/frontend/src/components/ProfilePreview.vue b/frontend/src/components/ProfilePreview.vueindex c670ec886e..52cace7238 100644--- a/frontend/src/components/ProfilePreview.vue+++ b/frontend/src/components/ProfilePreview.vue@@ -1,7 +1,7 @@<template><router-linkclass="px-4 py-3 menu-item w-48"- to="/setting/profile"+ :to="{ name: SETTING_ROUTE_PROFILE }"role="menuitem"><p class="text-sm flex justify-between space-x-2">@@ -16,6 +16,7 @@</template><script setup lang="ts">+import { SETTING_ROUTE_PROFILE } from "@/router/dashboard/workspaceSetting";import { useCurrentUserV1 } from "@/store";const currentUserV1 = useCurrentUserV1();diff --git a/frontend/src/views/DashboardSidebar.vue b/frontend/src/views/DashboardSidebar.vueindex 9ed40eedc6..789f87e853 100644--- a/frontend/src/views/DashboardSidebar.vue+++ b/frontend/src/views/DashboardSidebar.vue@@ -267,6 +267,7 @@ const dashboardSidebarItemList = computed((): DashboardSidebarItem[] => {icon: h(SettingsIcon),name: SETTING_ROUTE_WORKSPACE_GENERAL,type: "route",+ hide: !hasWorkspacePermissionV2(currentUserV1.value, "bb.settings.get"),},];