dicos/99_one-master.xml: Création des variables pour les Hook de type USER

On permet de configurer des HOOK de type USER qui lancent des actions lors de la CREATION des
utilisateurs.

ref #12522 @20m
This commit is contained in:
2015-08-12 12:09:03 +02:00
parent 62b0408cbe
commit ffec623695
2 changed files with 36 additions and 5 deletions

View File

@ -596,9 +596,11 @@ VM_HOOK = [
remote = "YES"
]
%if %%getVar('activer_vm_hooks', 'non') == 'oui'
%if %%getVar('activer_hooks', 'non') == 'oui'
#*******************************************************************************
# Personal Hooks
#*******************************************************************************
# VM
#*******************************************************************************
%for %%hook in %%hapy_vm_hook
VM_HOOK = [
@ -617,6 +619,17 @@ VM_HOOK = [
%end if
]
%end for
#*******************************************************************************
# USER
#*******************************************************************************
%for %%hook in %%hapy_user_hook
USER_HOOK = [
name = "%%hook",
on = "%%hook.hapy_user_hook_on",
command = "%%hook.hapy_user_hook_command",
arguments = "%%hook.hapy_user_hook_arguments"
]
%end for
%end if
HM_MAD = [