Ajout restrictions accès
This commit is contained in:
parent
ab8d2ed9e4
commit
28e019d05d
20 changed files with 20 additions and 21 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
|
||||
{{:assign var="type_movement" value=$_GET.mvt}}
|
||||
{{:admin_header title="Supprimer une %s"|args:$type_movement current="module_equipment"}}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 entrée" current="module_equipment"}}
|
||||
|
||||
{{* récupérer les infos du mouvement à supprimer et du matériel associé *}}
|
||||
|
|
|
|||
|
|
@ -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 *}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{if $_GET.dialog === null}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{if $_GET.dialog === null}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{if $_GET.dialog === null}}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
{{:assign date_init=$mvt_modif.date|date_short}}
|
||||
{{:assign key_eqpmt_init=$mvt_modif.equipment}}
|
||||
|
||||
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
|
||||
|
||||
{{* récupérer la config des entrées/sorties *}}
|
||||
{{:include file="/%s/_get_config.html"|args:$module.name keep="config"}}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 sortie" current="module_equipment"}}
|
||||
|
||||
{{* récupérer les infos du mouvement à supprimer et du matériel associé *}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="read"}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{if $_GET.dialog === null}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="read"}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{* barre de navigation *}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{#restrict section="config" level="admin" block=true}}{{/restrict}}
|
||||
{{#restrict section="accounting" level="write" block=true}}{{/restrict}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{if $_GET.dialog === null}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue