From 52e25d42d41bec3378fbefa47dbbaf9a1728acb6 Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Thu, 11 Apr 2024 08:23:24 +0200 Subject: [PATCH] Remove the user group list from the navigation sidebar for non-admin users --- frontend/src/lib/components/SideBar/navData.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/SideBar/navData.ts b/frontend/src/lib/components/SideBar/navData.ts index b5587a67d..ad804d0e6 100644 --- a/frontend/src/lib/components/SideBar/navData.ts +++ b/frontend/src/lib/components/SideBar/navData.ts @@ -143,7 +143,8 @@ export const navData = { { name: 'userGroups', fa_icon: 'fa-solid fa-users', - href: '/user-groups' + href: '/user-groups', + user_groups: ["Global - Administrator"] }, { name: 'roleAssignments',