Loading SQL/001_tables.sql −44 File deleted. Show changes SQL/002_privileges.sql −9 File deleted. Show changes config/merged/affectation.config.php −100 File deleted. Show changes config/merged/categorie.config.php −5 Changes for config/merged/categorie.config.php: 0 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -38,11 +38,6 @@ return [ 'router' => [ 'routes' => [ 'unicaen-privilege' => [ 'type' => Literal::class, 'options' => [ 'route' => '/unicaen-privilege', ], 'may_terminate' => false, 'child_routes' => [ 'categorie' => [ 'type' => Literal::class, Loading config/merged/pivilege.config.php→config/merged/privilege.config.php +46 −10 Changes for config/merged/privilege.config.php: 46 added lines, 10 removed lines. Original line number Diff line number Diff line Loading @@ -19,15 +19,49 @@ return [ 'bjyauthorize' => [ 'guards' => [ UnicaenPrivilege\Guard\PrivilegeController::class => [ [ 'controller' => PrivilegeController::class, 'action' => [ 'index', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_VOIR, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'affecter', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_AFFECTER, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'ajouter', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_AJOUTER, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'modifier', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_MODIFIER, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'supprimer', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_AJOUTER, PrivilegePrivileges::PRIVILEGE_SUPPRIMER, ], ], ], Loading @@ -39,20 +73,24 @@ return [ 'unicaen-privilege' => [ 'type' => Literal::class, 'options' => [ 'route' => '/unicaen-privilege', 'route' => '/privilege', 'defaults' => [ 'controller' => PrivilegeController::class, 'action' => 'index', ], ], 'may_terminate' => false, 'may_terminate' => true, 'child_routes' => [ 'privilege' => [ 'type' => Literal::class, 'affecter' => [ 'type' => Segment::class, 'options' => [ 'route' => '/privilege', 'route' => '/affecter/:role/:privilege', 'defaults' => [ 'controller' => PrivilegeController::class, 'action' => 'affecter', ], ], ], 'may_terminate' => false, 'child_routes' => [ 'ajouter' => [ 'type' => Segment::class, 'options' => [ Loading Loading @@ -87,8 +125,6 @@ return [ ], ], ], ], ], 'controllers' => [ 'factories' => [ Loading Loading
config/merged/categorie.config.php −5 Changes for config/merged/categorie.config.php: 0 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -38,11 +38,6 @@ return [ 'router' => [ 'routes' => [ 'unicaen-privilege' => [ 'type' => Literal::class, 'options' => [ 'route' => '/unicaen-privilege', ], 'may_terminate' => false, 'child_routes' => [ 'categorie' => [ 'type' => Literal::class, Loading
config/merged/pivilege.config.php→config/merged/privilege.config.php +46 −10 Changes for config/merged/privilege.config.php: 46 added lines, 10 removed lines. Original line number Diff line number Diff line Loading @@ -19,15 +19,49 @@ return [ 'bjyauthorize' => [ 'guards' => [ UnicaenPrivilege\Guard\PrivilegeController::class => [ [ 'controller' => PrivilegeController::class, 'action' => [ 'index', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_VOIR, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'affecter', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_AFFECTER, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'ajouter', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_AJOUTER, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'modifier', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_MODIFIER, ], ], [ 'controller' => PrivilegeController::class, 'action' => [ 'supprimer', ], 'privileges' => [ PrivilegePrivileges::PRIVILEGE_AJOUTER, PrivilegePrivileges::PRIVILEGE_SUPPRIMER, ], ], ], Loading @@ -39,20 +73,24 @@ return [ 'unicaen-privilege' => [ 'type' => Literal::class, 'options' => [ 'route' => '/unicaen-privilege', 'route' => '/privilege', 'defaults' => [ 'controller' => PrivilegeController::class, 'action' => 'index', ], ], 'may_terminate' => false, 'may_terminate' => true, 'child_routes' => [ 'privilege' => [ 'type' => Literal::class, 'affecter' => [ 'type' => Segment::class, 'options' => [ 'route' => '/privilege', 'route' => '/affecter/:role/:privilege', 'defaults' => [ 'controller' => PrivilegeController::class, 'action' => 'affecter', ], ], ], 'may_terminate' => false, 'child_routes' => [ 'ajouter' => [ 'type' => Segment::class, 'options' => [ Loading Loading @@ -87,8 +125,6 @@ return [ ], ], ], ], ], 'controllers' => [ 'factories' => [ Loading