mirror of
https://github.com/plankanban/planka.git
synced 2025-08-04 13:05:24 +02:00
fix: Disable role change when OIDC roles are not ignored
This commit is contained in:
parent
d4b64b90fc
commit
6dc9e4ed99
9 changed files with 23 additions and 20 deletions
|
@ -155,7 +155,7 @@ const ActionsStep = React.memo(
|
|||
</Menu.Item>
|
||||
</>
|
||||
)}
|
||||
{!user.isLockedAdmin && (
|
||||
{!user.isDeletionLocked && (
|
||||
<Menu.Item className={styles.menuItem} onClick={handleDeleteClick}>
|
||||
{t('action.deleteUser', {
|
||||
context: 'title',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue