From 79ed970f81515c805ecea2e13ca3a5df2109c4bc Mon Sep 17 00:00:00 2001 From: sumitappt Date: Wed, 1 Nov 2023 11:32:23 +0530 Subject: [PATCH] OBS-191 | Viewing domains page should not require Manage Domains privilege --- datahub-web-react/src/app/shared/admin/HeaderLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datahub-web-react/src/app/shared/admin/HeaderLinks.tsx b/datahub-web-react/src/app/shared/admin/HeaderLinks.tsx index ce1ad93565ba4..390e3efc4c0e4 100644 --- a/datahub-web-react/src/app/shared/admin/HeaderLinks.tsx +++ b/datahub-web-react/src/app/shared/admin/HeaderLinks.tsx @@ -73,7 +73,7 @@ export function HeaderLinks(props: Props) { const showSettings = true; const showIngestion = isIngestionEnabled && me && me.platformPrivileges?.manageIngestion && me.platformPrivileges?.manageSecrets; - const showDomains = me?.platformPrivileges?.createDomains || me?.platformPrivileges?.manageDomains; + const showDomains = me?.platformPrivileges?.createDomains; useUpdateEducationStepIdsAllowlist(!!showIngestion, HOME_PAGE_INGESTION_ID);