diff --git a/frontend/src/component/admin/groups/GroupsAdmin.tsx b/frontend/src/component/admin/groups/GroupsAdmin.tsx index 8c4f06454d..9db4ba1730 100644 --- a/frontend/src/component/admin/groups/GroupsAdmin.tsx +++ b/frontend/src/component/admin/groups/GroupsAdmin.tsx @@ -1,9 +1,20 @@ +import { AdminAlert } from 'component/common/AdminAlert/AdminAlert'; import { GroupsList } from './GroupsList/GroupsList'; +import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; +import { useContext } from 'react'; +import AccessContext from 'contexts/AccessContext'; +import { ADMIN } from '@server/types/permissions'; export const GroupsAdmin = () => { + const { hasAccess } = useContext(AccessContext); + return (