Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add masking help doc link (#8191)
Tianzhou (天舟)32761edddda2
diff --git a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vueindex 2dd5885585..f6643cfe3d 100644--- a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue+++ b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue@@ -1,46 +1,59 @@<template><div class="w-full mt-4 space-y-4">- <div class="flex items-center justify-end">- <div v-if="state.reorderRules" class="flex items-center space-x-3">- <NButton- :disabled="state.processing"- @click="- () => {- state.reorderRules = false;- updateList();- }- "+ <div class="flex items-center justify-between">+ <div class="textinfolabel">+ {{ $t("settings.sensitive-data.global-rules.description") }}+ <a+ href="https://www.bytebase.com/docs/security/mask-data?source=console"+ class="normal-link inline-flex flex-row items-center"+ target="_blank">- {{ $t("common.cancel") }}- </NButton>- <NButton- type="primary"- :disabled="state.processing"- @click="onReorderSubmit"- >- {{ $t("common.confirm") }}- </NButton>+ {{ $t("common.learn-more") }}+ <heroicons-outline:external-link class="w-4 h-4" />+ </a></div>- <div v-else class="flex items-center space-x-3">- <NButton- secondary- type="primary"- :disabled="- !hasPermission ||- !hasSensitiveDataFeature ||- state.maskingRuleItemList.length <= 1- "- @click="state.reorderRules = true"- >- {{ $t("settings.sensitive-data.global-rules.re-order") }}- </NButton>- <NButton- type="primary"- :disabled="!hasPermission || !hasSensitiveDataFeature"- @click="addNewRule"- >- {{ $t("settings.sensitive-data.global-rules.add-rule") }}- </NButton>+ <div>+ <div v-if="state.reorderRules" class="flex items-center space-x-3">+ <NButton+ :disabled="state.processing"+ @click="+ () => {+ state.reorderRules = false;+ updateList();+ }+ "+ >+ {{ $t("common.cancel") }}+ </NButton>+ <NButton+ type="primary"+ :disabled="state.processing"+ @click="onReorderSubmit"+ >+ {{ $t("common.confirm") }}+ </NButton>+ </div>+ <div v-else class="flex items-center space-x-3">+ <NButton+ secondary+ type="primary"+ :disabled="+ !hasPermission ||+ !hasSensitiveDataFeature ||+ state.maskingRuleItemList.length <= 1+ "+ @click="state.reorderRules = true"+ >+ {{ $t("settings.sensitive-data.global-rules.re-order") }}+ </NButton>+ <NButton+ type="primary"+ :disabled="!hasPermission || !hasSensitiveDataFeature"+ @click="addNewRule"+ >+ {{ $t("settings.sensitive-data.global-rules.add-rule") }}+ </NButton>+ </div></div></div><div class="space-y-5 divide-y-2 pb-10 divide-gray-100">diff --git a/frontend/src/components/SensitiveData/SensitiveColumnView.vue b/frontend/src/components/SensitiveData/SensitiveColumnView.vueindex a92e7ee622..de140ab1b7 100644--- a/frontend/src/components/SensitiveData/SensitiveColumnView.vue+++ b/frontend/src/components/SensitiveData/SensitiveColumnView.vue@@ -47,6 +47,14 @@<div class="textinfolabel">{{ $t("settings.sensitive-data.description") }}+ <a+ href="https://www.bytebase.com/docs/security/mask-data?source=console"+ class="normal-link inline-flex flex-row items-center"+ target="_blank"+ >+ {{ $t("common.learn-more") }}+ <heroicons-outline:external-link class="w-4 h-4" />+ </a></div><SensitiveColumnTablediff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 8c9877e27b..028447bd11 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -630,6 +630,7 @@"grant-access": "Grant Access","never-expires": "Never expires","global-rules": {+ "description": "Use global rule to apply masking levels in batch, e.g. all columns named as \"email\" will be masked with \"Partial\" level.","condition-order": "Condition order","add-rule": "Add rule","re-order": "Re-order",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 9d7c59d976..743ea7b0fb 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -629,6 +629,7 @@"grant-access": "Autorizará el acceso","never-expires": "Nunca expira","global-rules": {+ "description": "Utilice la regla global para aplicar niveles de enmascaramiento por lotes, p. Todas las columnas denominadas \"correo electrónico\" se enmascararán con el nivel \"Parcial\".","condition-order": "Orden de condición","add-rule": "Agregar regla","re-order": "Reordenar",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex c44719eb32..7972d75d02 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -628,6 +628,7 @@"grant-access": "授权访问","never-expires": "无过期时间","global-rules": {+ "description": "全局规则用于批量指定脱敏程度,比如所有列名是 email 的字段都被设置为半脱敏。","condition-order": "条件序列","add-rule": "添加规则","re-order": "排序",