mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Allow to change the permissions for users.
This commit is contained in:
parent
8e61b06abc
commit
7390f2eccd
18 changed files with 933 additions and 8 deletions
|
@ -44,11 +44,18 @@ class PermissionsConfiguration implements ConfigurationInterface
|
|||
$treeBuilder = new TreeBuilder('permissions');
|
||||
$rootNode = $treeBuilder->root('permissions');
|
||||
|
||||
$rootNode->children()
|
||||
->arrayNode('groups')
|
||||
->arrayPrototype()
|
||||
->children()
|
||||
->scalarNode('label')->end();
|
||||
|
||||
$rootNode->children()
|
||||
->arrayNode('perms')
|
||||
->arrayPrototype()
|
||||
->children()
|
||||
->scalarNode('label')->end()
|
||||
->scalarNode('group')->end()
|
||||
->arrayNode('operations')
|
||||
->arrayPrototype()
|
||||
->children()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue