mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +01:00
fix: patch ui to allow deleting a scim user
This commit is contained in:
parent
e203d26f64
commit
52f7c27787
@ -77,6 +77,9 @@ const DeleteUser = ({
|
|||||||
})`
|
})`
|
||||||
: ''}
|
: ''}
|
||||||
?
|
?
|
||||||
|
{user.scimId
|
||||||
|
? ' This user is currently managed by SCIM and may be re-added by your SCIM provider.'
|
||||||
|
: ''}
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</Dialogue>
|
</Dialogue>
|
||||||
|
@ -91,9 +91,8 @@ export const UsersActionsCell: VFC<IUsersActionsCellProps> = ({
|
|||||||
onClick={onDelete}
|
onClick={onDelete}
|
||||||
permission={ADMIN}
|
permission={ADMIN}
|
||||||
tooltipProps={{
|
tooltipProps={{
|
||||||
title: isScimUser ? scimTooltip : 'Remove user',
|
title: 'Remove user',
|
||||||
}}
|
}}
|
||||||
disabled={isScimUser}
|
|
||||||
>
|
>
|
||||||
<Delete />
|
<Delete />
|
||||||
</PermissionIconButton>
|
</PermissionIconButton>
|
||||||
|
Loading…
Reference in New Issue
Block a user