Skip to content
Snippets Groups Projects
Commit b26dc334 authored by David Surville's avatar David Surville
Browse files

[Tac] Modification des droits d'accès sur les catégories de privilèges

parent 7545f5f7
No related branches found
No related tags found
No related merge requests found
Pipeline #12796 passed
......@@ -75,14 +75,38 @@ return [
'controller' => PrivilegeCategorieController::class,
'action' => [
'index',
'ajouter',
'gerer',
'provider',
'provider'
],
'privileges' => [
PrivilegePrivileges::PRIVILEGE_VOIR,
],
],
[
'controller' => PrivilegeCategorieController::class,
'action' => [
'ajouter',
],
'privileges' => [
PrivilegePrivileges::PRIVILEGE_AJOUTER,
],
],
[
'controller' => PrivilegeCategorieController::class,
'action' => [
'modifier',
],
'privileges' => [
PrivilegePrivileges::PRIVILEGE_MODIFIER,
],
],
[
'controller' => PrivilegeCategorieController::class,
'action' => [
'supprimer',
],
'privileges' => [
PrivilegePrivileges::PRIVILEGE_AJOUTER,
PrivilegePrivileges::PRIVILEGE_SUPPRIMER,
],
],
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment