mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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>
 | 
			
		||||
            </div>
 | 
			
		||||
        </Dialogue>
 | 
			
		||||
 | 
			
		||||
@ -91,9 +91,8 @@ export const UsersActionsCell: VFC<IUsersActionsCellProps> = ({
 | 
			
		||||
                onClick={onDelete}
 | 
			
		||||
                permission={ADMIN}
 | 
			
		||||
                tooltipProps={{
 | 
			
		||||
                    title: isScimUser ? scimTooltip : 'Remove user',
 | 
			
		||||
                    title: 'Remove user',
 | 
			
		||||
                }}
 | 
			
		||||
                disabled={isScimUser}
 | 
			
		||||
            >
 | 
			
		||||
                <Delete />
 | 
			
		||||
            </PermissionIconButton>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user