1
0
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:
Simon Hornby 2025-02-03 09:37:34 +02:00
parent e203d26f64
commit 52f7c27787
No known key found for this signature in database
GPG Key ID: 57BE3E58BA999B19
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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>