From b466adeab47138c17151fc5692212c411ceeed83 Mon Sep 17 00:00:00 2001 From: Karsten Thiems <150006841+typecastcloud@users.noreply.github.com> Date: Mon, 3 Jun 2024 09:30:31 +0200 Subject: [PATCH] feat(my organization view): Change required role for my organization view (#857) --- src/types/Config.tsx | 2 +- src/types/Constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/Config.tsx b/src/types/Config.tsx index 9ad50f159..3b4aff758 100644 --- a/src/types/Config.tsx +++ b/src/types/Config.tsx @@ -195,7 +195,7 @@ export const ALL_PAGES: IPage[] = [ }, { name: PAGES.ORGANIZATION, - role: ROLES.PARTNER_NETWORK_VIEW, + role: ROLES.MY_ORGANIZATION_VIEW, element: , }, { diff --git a/src/types/Constants.ts b/src/types/Constants.ts index be9170230..869be416c 100644 --- a/src/types/Constants.ts +++ b/src/types/Constants.ts @@ -202,7 +202,7 @@ export enum ROLES { IDP_SETUP = 'setup_idp', IDP_DISABLE = 'disable_idp', MODIFY_USER_ACCOUNT = 'modify_user_account', - ORGANIZATION_VIEW = 'view_organization', + MY_ORGANIZATION_VIEW = 'view_company_data', PARTNER_NETWORK_VIEW = 'view_partner_network', DEVELOPER = 'catenax_developer', CONNECTORS_VIEW = 'view_connectors',