mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Allow users to change the group of a user, when he is allowed to change permissions
This commit is contained in:
parent
fd96f47952
commit
21af37b8e7
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class UserAdminForm extends AbstractType
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'label' => 'group.label',
|
'label' => 'group.label',
|
||||||
'disable_not_selectable' => true,
|
'disable_not_selectable' => true,
|
||||||
'disabled' => !$this->security->isGranted('change_group', $entity),
|
'disabled' => !$this->security->isGranted('edit_permissions', $entity),
|
||||||
])
|
])
|
||||||
|
|
||||||
->add('first_name', TextType::class, [
|
->add('first_name', TextType::class, [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue