From 3e37032029e22a8fe22f8d9021ba0dab7259fa62 Mon Sep 17 00:00:00 2001 From: Ark2307 Date: Fri, 3 Jan 2025 16:01:19 +0530 Subject: [PATCH] fixing users page --- .../web/src/apps/dashboard/pages/settings/users/Users.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx index 898971160e..adc3d73268 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx @@ -26,6 +26,7 @@ const Users = () => { const [roleHierarchy, setRoleHierarchy] = useState([]) const [allCollections, setAllCollections] = useState([]) let rbacAccess = func.checkForRbacFeatureBasic(); + let rbacAccessAdvanced = func.checkForRbacFeature() const collectionsMap = PersistStore(state => state.collectionsMap) @@ -319,7 +320,7 @@ const Users = () => { { content: ( - { (role === 'ADMIN' || userRole !== 'ADMIN' || !rbacAccess) ? undefined : + { (role === 'ADMIN' || userRole !== 'ADMIN' || !rbacAccessAdvanced) ? undefined :