diff --git a/src/context/AppContext.js b/src/context/AppContext.js index 1309c20ba..ce932eac0 100644 --- a/src/context/AppContext.js +++ b/src/context/AppContext.js @@ -139,7 +139,11 @@ function getRoutes(user) { linkTo: '/user-manager', component: Users, icon: IconGroup, - disabled: !hasPermission(user, [POLICIES.SUPER_PERMISSION]), + disabled: !hasPermission(user, [ + POLICIES.SUPER_PERMISSION, + POLICIES.LIST_USER, + POLICIES.MANAGER_USER, + ]), }, { name: 'Account',