dicos/99_one-frontend.xml: Calcul de la valeur de activer_client_ldap en fonction
de la variable d'authentification "sunstone_auth_modes" fixes #9144 @2h
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
<variable name='langue_sunstone' type='string' description="Langue par défaut de l'interface" mode='expert'>
|
||||
<value>fr_FR</value>
|
||||
</variable>
|
||||
<variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert' multi='True' />
|
||||
<variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
@ -36,8 +36,16 @@
|
||||
<param type='eole' name='valeur'>adresse_ip_eth0</param>
|
||||
</fill>
|
||||
<check name='valid_enum' target='sunstone_auth_modes'>
|
||||
<param>['ldap']</param>
|
||||
<param>['', 'ldap']</param>
|
||||
</check>
|
||||
|
||||
<auto name='calc_multi_condition' target='activer_client_ldap'>
|
||||
<param>ldap</param>
|
||||
<param type='eole' name='condition_1'>sunstone_auth_modes</param>
|
||||
<param name='match'>distant</param>
|
||||
<param name='mismatch'>non</param>
|
||||
</auto>
|
||||
|
||||
<condition name='disabled_if_in' source='activer_onefrontend'>
|
||||
<param>non</param>
|
||||
<!--target type='filelist'>onefrontend</target-->
|
||||
|
Reference in New Issue
Block a user