mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Allow to specify operations that also need to be set.
When the edit operation is set, the read permission is now set too.
This commit is contained in:
parent
55983102ed
commit
ac302ab16a
7 changed files with 163 additions and 1 deletions
|
@ -61,7 +61,9 @@ class PermissionsConfiguration implements ConfigurationInterface
|
|||
->children()
|
||||
->scalarNode('name')->end()
|
||||
->scalarNode('label')->end()
|
||||
->scalarNode('bit')->end();
|
||||
->scalarNode('bit')->end()
|
||||
->arrayNode('alsoSet')
|
||||
->beforeNormalization()->castToArray()->end()->scalarPrototype()->end();
|
||||
|
||||
return $treeBuilder;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue