diff --git a/apps/sensenet/src/components/content-list/roles-field.tsx b/apps/sensenet/src/components/content-list/roles-field.tsx index a2b4d07d0..4e65c03c6 100644 --- a/apps/sensenet/src/components/content-list/roles-field.tsx +++ b/apps/sensenet/src/components/content-list/roles-field.tsx @@ -8,6 +8,7 @@ import React, { FunctionComponent, useState } from 'react' import { useGlobalStyles } from '../../globalStyles' import { useLocalization } from '../../hooks' import { useDialog } from '../dialogs' +import { Icon } from '../Icon' const useStyles = makeStyles(() => { return createStyles({ @@ -108,7 +109,9 @@ export const RolesField: FunctionComponent = ({ user, roles, di onClick={async (event) => { openGroupDialog(event, role) setAnchorEl(null) - }}> + }} + disabled={role.Type == 'OrganizationalUnit'}> + {role.DisplayName} {isIndirect(role) && (