Ajout restrictions accès

This commit is contained in:
Jean-Christophe Engel 2023-12-04 10:56:36 +01:00
parent ab8d2ed9e4
commit 28e019d05d
20 changed files with 20 additions and 21 deletions

View file

@ -1,4 +1,4 @@
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
{{:admin_header title="Supprimer une catégorie" current="module_equipment"}}
{{#load key=$_GET.key assign="category"}}

View file

@ -1,4 +1,4 @@
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
{{#restrict section="accounting" level="read" block=true}}{{/restrict}}
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
{{* barre de navigation *}}

View file

@ -1,4 +1,4 @@
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
{{#restrict section="accounting" level="read" block=true}}{{/restrict}}
{{#load key=$_GET.key}}
{{:assign cat_name=$name}}

View file

@ -1,4 +1,4 @@
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
{{:admin_header title="Modifier une catégorie" current="module_equipment"}}
{{#load key=$_GET.key assign="category"}}