From d059da5ace79dca001815dfdc2b4dc9b3eca489d Mon Sep 17 00:00:00 2001 From: Chira Madlani Date: Wed, 25 Sep 2024 21:33:51 +0530 Subject: [PATCH] update page to preferences -> search --- .../resources/ui/playwright/constant/settings.ts | 4 ++-- .../main/resources/ui/playwright/e2e/auth.setup.ts | 10 +--------- .../ui/src/components/AppRouter/SettingsRouter.tsx | 2 +- .../ui/src/constants/PageHeaders.constant.ts | 4 ++-- .../resources/ui/src/locale/languages/de-de.json | 4 ++-- .../resources/ui/src/locale/languages/en-us.json | 4 ++-- .../resources/ui/src/locale/languages/es-es.json | 4 ++-- .../resources/ui/src/locale/languages/fr-fr.json | 4 ++-- .../resources/ui/src/locale/languages/he-he.json | 4 ++-- .../resources/ui/src/locale/languages/ja-jp.json | 4 ++-- .../resources/ui/src/locale/languages/nl-nl.json | 4 ++-- .../resources/ui/src/locale/languages/pr-pr.json | 4 ++-- .../resources/ui/src/locale/languages/pt-br.json | 4 ++-- .../resources/ui/src/locale/languages/ru-ru.json | 4 ++-- .../resources/ui/src/locale/languages/zh-cn.json | 4 ++-- .../SearchRBACSettingsPage.tsx | 6 +++--- .../ui/src/utils/GlobalSettingsClassBase.ts | 14 +++++++------- 17 files changed, 38 insertions(+), 46 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/playwright/constant/settings.ts b/openmetadata-ui/src/main/resources/ui/playwright/constant/settings.ts index c8f4194883a2..920b78b45344 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/constant/settings.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/constant/settings.ts @@ -192,8 +192,8 @@ export const SETTINGS_OPTIONS_PATH = { ], [GlobalSettingOptions.SEARCH_RBAC]: [ - GlobalSettingsMenuCategory.ACCESS, - `${GlobalSettingsMenuCategory.ACCESS}.${GlobalSettingOptions.SEARCH_RBAC}`, + GlobalSettingsMenuCategory.PREFERENCES, + `${GlobalSettingsMenuCategory.PREFERENCES}.${GlobalSettingOptions.SEARCH_RBAC}`, ], }; diff --git a/openmetadata-ui/src/main/resources/ui/playwright/e2e/auth.setup.ts b/openmetadata-ui/src/main/resources/ui/playwright/e2e/auth.setup.ts index 43c30234664d..8894062b2f7e 100644 --- a/openmetadata-ui/src/main/resources/ui/playwright/e2e/auth.setup.ts +++ b/openmetadata-ui/src/main/resources/ui/playwright/e2e/auth.setup.ts @@ -10,13 +10,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { expect, test as setup } from '@playwright/test'; +import { test as setup } from '@playwright/test'; import { JWT_EXPIRY_TIME_MAP } from '../constant/login'; -import { GlobalSettingOptions } from '../constant/settings'; import { AdminClass } from '../support/user/AdminClass'; import { getApiContext } from '../utils/common'; import { updateJWTTokenExpiryTime } from '../utils/login'; -import { settingClick } from '../utils/sidebar'; import { removeOrganizationPolicyAndRole } from '../utils/team'; const adminFile = 'playwright/.auth/admin.json'; @@ -35,12 +33,6 @@ setup('authenticate as admin', async ({ page }) => { await admin.login(page); await page.waitForURL('**/my-data'); - await settingClick(page, GlobalSettingOptions.SEARCH_RBAC); - - await page.getByRole('switch').click(); - - await expect(page.getByText('Search RBAC updated')).toBeVisible(); - // End of authentication steps. await page.context().storageState({ path: adminFile }); }); diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AppRouter/SettingsRouter.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AppRouter/SettingsRouter.tsx index e136975004dd..8c51d37b2dd6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AppRouter/SettingsRouter.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AppRouter/SettingsRouter.tsx @@ -250,7 +250,7 @@ const SettingsRouter = () => { exact component={SearchRBACSettingsPage} path={getSettingPath( - GlobalSettingsMenuCategory.ACCESS, + GlobalSettingsMenuCategory.PREFERENCES, GlobalSettingOptions.SEARCH_RBAC )} /> diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/PageHeaders.constant.ts b/openmetadata-ui/src/main/resources/ui/src/constants/PageHeaders.constant.ts index d3c43c71c414..68e5ac95969d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/PageHeaders.constant.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/PageHeaders.constant.ts @@ -199,8 +199,8 @@ export const PAGE_HEADERS = { subHeader: i18n.t('message.page-sub-header-for-login-configuration'), }, SEARCH_RBAC: { - header: i18n.t('label.search-rbac'), - subHeader: i18n.t('message.page-sub-header-for-search-rbac'), + header: i18n.t('label.search'), + subHeader: i18n.t('message.page-sub-header-for-search-setting'), }, OM_HEALTH: { header: i18n.t('label.health-check'), diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json index f0575a7d3408..d2b598a342d4 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json @@ -404,10 +404,10 @@ "embed-image": "Embed image", "embed-link": "Embed link", "enable": "Aktivieren", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Debug-Protokoll aktivieren", "enable-lowercase": "enable", "enable-partition": "Partition aktivieren", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "SMTP-Server aktivieren", "enabled": "Aktiviert", "end-date": "Enddatum", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Weise Benutzern oder Teams umfassende rollenbasierte Zugriffsberechtigungen zu.", "page-sub-header-for-search": "Ingestion von Metadaten aus den beliebtesten Suchdiensten.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Ability to configure the OpenMetadata application to suit your needs.", "page-sub-header-for-storages": "Ingestion von Metadaten aus den am häufigsten verwendeten Speicherdiensten.", "page-sub-header-for-table-profile": "Überwache und verstehe die Struktur deiner Tabellen mit dem Profiler.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json index f4df825c28b2..f9cff8ce12c0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json @@ -404,10 +404,10 @@ "embed-image": "Embed image", "embed-link": "Embed link", "enable": "Enable", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Enable Debug Log", "enable-lowercase": "enable", "enable-partition": "Enable Partition", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "Enable SMTP Server", "enabled": "Enabled", "end-date": "End Date", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Assign comprehensive role based access to Users or Teams.", "page-sub-header-for-search": "Ingest metadata from the most popular search services.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Ability to configure the OpenMetadata application to suit your needs.", "page-sub-header-for-storages": "Ingest metadata from the most popular storage services.", "page-sub-header-for-table-profile": "Monitor and understand your tables structure with the profiler.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json index feef1e90653f..257d7d98edc0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json @@ -404,10 +404,10 @@ "embed-image": "Insertar imagen", "embed-link": "Insertar Link", "enable": "Habilitar", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Activar logs con debug", "enable-lowercase": "habilitar", "enable-partition": "Habilitar partición", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "Habilitar Server SMTP", "enabled": "Habilitado", "end-date": "Fecha de fin", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Asigna un acceso basado en roles integral a Usuarios o Equipos.", "page-sub-header-for-search": "Ingresa metadatos desde los servicios de búsqueda más populares.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Capacidad para configurar la aplicación OpenMetadata según tus necesidades.", "page-sub-header-for-storages": "Ingresa metadatos desde los servicios de almacenamiento más populares.", "page-sub-header-for-table-profile": "Monitorea y comprende la estructura de tus tablas con el perfilador.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json index 082cbb200ba4..a2f0be4545bc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json @@ -404,10 +404,10 @@ "embed-image": "Incorporer image", "embed-link": "Incorporer lien", "enable": "Activer", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Activer le Journal de Débogage", "enable-lowercase": "activer", "enable-partition": "Activer la Partition", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "Activer le Serveur SMTP", "enabled": "Activé", "end-date": "Date de Fin", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Personnalisez le comportement global du profiler en établissant les métriques à calculer à partir des types de données des colonnes", "page-sub-header-for-roles": "Attribuez des autorisations basées sur les rôles aux utilisateurs ou aux équipes.", "page-sub-header-for-search": "Ingestion de métadonnées à partir des services de recherche les plus populaires.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Configurez l'application OpenMetadata pour répondre à vos besoins.", "page-sub-header-for-storages": "Ingestion de métadonnées à partir des services de stockage les plus populaires.", "page-sub-header-for-table-profile": "Surveillez et comprenez la structure de vos tables avec le profilage.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json index e9e5b7130cb3..f1f9588b6cdc 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json @@ -404,10 +404,10 @@ "embed-image": "הטמע תמונה", "embed-link": "הטמע קישור", "enable": "הפעל", - "enable-access-control": "Enable Access Control", "enable-debug-log": "הפעל יומן דיבוג", "enable-lowercase": "הפעל", "enable-partition": "הפעל מחיצה", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "הפעל שרת SMTP", "enabled": "מופעל", "end-date": "תאריך סיום", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "הקצאת גישה מבוססת תפקיד למשתמשים או קבוצות.", "page-sub-header-for-search": "שלב מטה-דאטה משירותי החיפוש הפופולריים ביותר.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Ability to configure the OpenMetadata application to suit your needs.", "page-sub-header-for-storages": "שלב מטה-דאטה משירותי האחסון הפופולריים ביותר.", "page-sub-header-for-table-profile": "נטרו, נתחו והבינו את מבנה הטבלאות שלכם באמצועות הפרופיילר.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json index c81ce8ca9714..38b6e5bcc67d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json @@ -404,10 +404,10 @@ "embed-image": "Embed image", "embed-link": "Embed link", "enable": "Enable", - "enable-access-control": "Enable Access Control", "enable-debug-log": "デバッグログの表示を有効化", "enable-lowercase": "enable", "enable-partition": "パーティションを有効化", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "Enable SMTP Server", "enabled": "Enabled", "end-date": "終了日時", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Assign comprehensive role based access to Users or Teams.", "page-sub-header-for-search": "Ingest metadata from the most popular search services.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Ability to configure the OpenMetadata application to suit your needs.", "page-sub-header-for-storages": "Ingest metadata from the most popular storage services.", "page-sub-header-for-table-profile": "Monitor and understand your tables structure with the profiler.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json index 0dcfa1dbc39a..0d467ca8865f 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json @@ -404,10 +404,10 @@ "embed-image": "Afbeelding insluiten", "embed-link": "Koppeling insluiten", "enable": "Inschakelen", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Debuglog inschakelen", "enable-lowercase": "inschakelen", "enable-partition": "Partitie inschakelen", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "SMTP-server inschakelen", "enabled": "Ingeschakeld", "end-date": "Einddatum", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Wijs uitgebreide rolgebaseerde toegang toe aan gebruikers of teams.", "page-sub-header-for-search": "Ingest metadata van de meestgebruikte zoekservices.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Mogelijkheid om de OpenMetadata-toepassing naar eigen behoefte te configureren.", "page-sub-header-for-storages": "Ingest metadata van de meestgebruikte opslagservices.", "page-sub-header-for-table-profile": "Volg en begrijp de structuur van je tabellen met de profiler.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json index bb9aea318e61..18623a989d08 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json @@ -404,10 +404,10 @@ "embed-image": "قرار دادن تصویر", "embed-link": "قرار دادن لینک", "enable": "فعال کردن", - "enable-access-control": "Enable Access Control", "enable-debug-log": "فعال کردن گزارش اشکال‌زدایی", "enable-lowercase": "فعال کردن", "enable-partition": "فعال کردن پارتیشن", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "فعال کردن سرور SMTP", "enabled": "فعال شد", "end-date": "تاریخ پایان", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "تنظیم رفتار پروفایلر در سطح جهانی با تعیین معیارها بر اساس نوع داده‌های ستون‌ها.", "page-sub-header-for-roles": "تخصیص دسترسی جامع مبتنی بر نقش به کاربران یا تیم‌ها.", "page-sub-header-for-search": "ورود متادیتا از پرکاربردترین سرویس‌های جستجو.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "قابلیت پیکربندی برنامه OpenMetadata به‌طور دلخواه.", "page-sub-header-for-storages": "ورود متادیتا از پرکاربردترین سرویس‌های ذخیره‌سازی.", "page-sub-header-for-table-profile": "نظارت و درک ساختار جداول خود با استفاده از پروفایلر.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json index c2e9a396eb52..cf06512955b1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json @@ -404,10 +404,10 @@ "embed-image": "Incorporar imagem", "embed-link": "Incorporar link", "enable": "Habilitar", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Habilitar Log de Depuração", "enable-lowercase": "habilitar", "enable-partition": "Habilitar Partição", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "Habilitar Servidor SMTP", "enabled": "Habilitado", "end-date": "Data de Término", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Atribua acesso baseado em funções abrangentes a usuários ou equipes.", "page-sub-header-for-search": "Ingestão de metadados dos serviços de pesquisa mais populares.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Habilidade para configurar a aplicação OpenMetadata de acordo com suas necessidades.", "page-sub-header-for-storages": "Ingestão de metadados dos serviços de armazenamento mais populares.", "page-sub-header-for-table-profile": "Monitore e compreenda a estrutura de suas tabelas com o examinador.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json index 3592a6e0f74d..0414dfc5b78e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json @@ -404,10 +404,10 @@ "embed-image": "Embed image", "embed-link": "Embed link", "enable": "Разрешить", - "enable-access-control": "Enable Access Control", "enable-debug-log": "Включить журнал отладки", "enable-lowercase": "enable", "enable-partition": "Включить раздел", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "Включить SMTP-сервер", "enabled": "Включено", "end-date": "Дата окончания", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "Customize globally the behavior of the profiler by setting the metrics to compute based on columns data types", "page-sub-header-for-roles": "Назначьте полный доступ на основе ролей пользователям или командам.", "page-sub-header-for-search": "Ingest metadata from the most popular search services.", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "Ability to configure the OpenMetadata application to suit your needs.", "page-sub-header-for-storages": "Получайте метаданные из самых популярных служб хранения.", "page-sub-header-for-table-profile": "Отслеживайте и анализируйте структуру ваших таблиц с помощью профилировщика.", diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json index c7a21c08444e..4ec5e0f0dd16 100644 --- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json +++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json @@ -404,10 +404,10 @@ "embed-image": "插入图片", "embed-link": "插入链接", "enable": "启用", - "enable-access-control": "Enable Access Control", "enable-debug-log": "启用调试日志", "enable-lowercase": "启用", "enable-partition": "启用分区", + "enable-roles-polices-in-search": "Enable Roles & Policies in Search", "enable-smtp-server": "启用发送邮件功能", "enabled": "已启用", "end-date": "结束日期", @@ -1714,7 +1714,7 @@ "page-sub-header-for-profiler-configuration": "根据列数据类型计算的指标, 设置全局自定义分析器的行为", "page-sub-header-for-roles": "分配基于角色的访问权限给用户或团队", "page-sub-header-for-search": "从最流行的搜索服务中提取元数据", - "page-sub-header-for-search-rbac": "Control over applying RBAC (Role Based Access Control) on search results.", + "page-sub-header-for-search-setting": "Ability to configure the search settings to suit your needs.", "page-sub-header-for-setting": "能够根据需要配置 OpenMetadata 应用", "page-sub-header-for-storages": "从最流行的存储类型服务中提取元数据", "page-sub-header-for-table-profile": "通过数据分析工具了解和跟踪您的数据表结构", diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/SearchRBACSettingsPage/SearchRBACSettingsPage.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/SearchRBACSettingsPage/SearchRBACSettingsPage.tsx index e294c533fb4f..795ab7aa13ce 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/SearchRBACSettingsPage/SearchRBACSettingsPage.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/SearchRBACSettingsPage/SearchRBACSettingsPage.tsx @@ -43,8 +43,8 @@ const SearchRBACSettingsPage = () => { const breadcrumbs: TitleBreadcrumbProps['titleLinks'] = useMemo( () => getSettingPageEntityBreadCrumb( - GlobalSettingsMenuCategory.ACCESS, - t('label.search-rbac') + GlobalSettingsMenuCategory.PREFERENCES, + t('label.search') ), [] ); @@ -111,7 +111,7 @@ const SearchRBACSettingsPage = () => { - {t('label.enable-access-control')} + {t('label.enable-roles-polices-in-search')}