mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-13 02:38:34 +01:00
Fixed problem that it was not possible to changes a entities parent
This commit is contained in:
@@ -82,7 +82,7 @@ class BaseEntityAdminForm extends AbstractType
|
||||
'class' => get_class($entity),
|
||||
'required' => false,
|
||||
'label' => 'parent.label',
|
||||
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'move', $entity),
|
||||
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
|
||||
]
|
||||
)
|
||||
->add(
|
||||
|
||||
Reference in New Issue
Block a user