Skip to content

Commit

Permalink
Corrige les ACLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Donov4n committed Mar 5, 2022
1 parent fec8e17 commit 7f597b8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions server/src/App/Config/Acl.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,21 @@ class Acl
],
'Event' => [
'create',
'duplicate',
'update',
'delete',
'restore',
'updateMaterialReturn',
'updateMaterialTerminate',
],
'EventTechnician' => [
'create',
'update',
'delete',
],
'Estimate' => [
'create',
'delete',
],
'Bill' => [
'getOne',
Expand All @@ -70,12 +82,16 @@ class Acl
],
'Attribute' => [
'create',
'update',
'delete',
],
'Material' => [
'create',
'update',
'delete',
'restore',
'handleUploadDocuments',
'handleUploadPicture',
],
'Park' => [
'create',
Expand Down Expand Up @@ -105,6 +121,9 @@ class Acl
'update',
'reset',
],
'Document' => [
'delete',
]
],
];
}

0 comments on commit 7f597b8

Please sign in to comment.