Allow to change the permissions for users.

This commit is contained in:
Jan Böhmer 2019-09-10 17:12:56 +02:00
parent 8e61b06abc
commit 7390f2eccd
18 changed files with 933 additions and 8 deletions

View file

@ -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()