ninegate/dicos/30_cadolesuser.xml
2019-03-12 14:50:57 +01:00

201 lines
13 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<creole>
<files>
<file filelist='cadolesuser' name='/etc/eole/eole-db.d/cadolesuser-db.yml' rm='True' mkdir='True'/>
</files>
<containers>
<container name='web'>
<file filelist='cadolesuser' name='/etc/apache2/sites-available/cadolesuser' source='cadolesuser-apache.conf'/>
<file filelist="cadolesuser" name="/var/www/html/cadolesuser/app/config/parameters.yml" source="cadolesuser-parameters.yml" rm="True"/>
<file filelist="cadolesuser" name="/var/www/html/cadolesuser/app/config/template.yml" source="cadolesuser-template.yml" rm="True"/>
<file filelist="cadolesuser" name="/var/www/html/cadolesuser/scripts/cadolesuser-postservice-00.sh" source="cadolesuser-postservice-00.sh" rm="True" mode="700" />
<file filelist="cadolesuser" name="/var/www/html/cadolesuser/src/Cadoles/CoreBundle/Command/data/core-init-01.sql" source="cadolesuser-init-01.sql" rm="True"/>
<file filelist='cadolesuser' name='/etc/cron.d/cadolesuser' source='cadolesuser.cron' rm='True'/>
<service method='apache' servicelist='cadolesuser'>cadolesuser</service>
</container>
</containers>
<variables>
<family name='Cadoles User'>
<variable name="activer_eportail" type="oui/non" description="Activer ePortail" hidden='True' exists='False'>
<value>non</value>
</variable>
<variable type='oui/non' name='activer_cadolesuser' description='Activer CadolesUser'><value>oui</value></variable>
<variable type='string' name='cadolesuser_masteridentity' description="Maître de l'Identité" mandatory='True'><value>SQL</value></variable>
<variable type='string' name='cadolesuser_mode_auth' description="Mode Authentification" mandatory='True'><value>SQL</value></variable>
<variable type='oui/non' name='cadolesuser_syncldap' description="Synchroniser CadolesUser vers votre annuaire"><value>oui</value></variable>
<variable type='oui/non' name='cadolesuser_synceportail' description="Synchroniser CadolesUser vers ePortail"><value>oui</value></variable>
<variable type='string' name='cadolesuser_pwdadmin' description="Mot de passe du compte admin durant l'instance (idem valeur Cadoles ldap)" mandatory='True'/>
<variable type='string' name='cadolesuser_organization' description="Nom de l'organisation principale (idem valeur Cadoles ldap)" mandatory='True'/>
<variable type='string' name='cadolesuser_niveau01branche' description="Nom de la branche de Niveau 01 (idem valeur Cadoles ldap)" mandatory='True'/>
<variable type='string' name='cadolesuser_niveau02branche' description="Nom de la branche de Niveau 02 (idem valeur Cadoles ldap)" mandatory='True'/>
<variable type='string' name='cadolesuser_niveau01name' description="Nom de la première orgranisation de Niveau 01 (idem valeur Cadoles ldap)" mandatory='True'/>
<variable type='string' name='cadolesuser_niveau01siren' description="SIREN de la première orgranisation de Niveau 01 (idem valeur Cadoles ldap)" mandatory='True'/>
<variable type='string' name='cadolesuser_niveau01label' description="Label singulier du niveau 01 d'organisation" mandatory='True'><value>Département</value></variable>
<variable type='string' name='cadolesuser_niveau01labels' description="Label pluriel du niveau 01 d'organisation" mandatory='True'><value>Départements</value></variable>
<variable type='string' name='cadolesuser_niveau01icon' description="Icon du niveau 01 d'organisation" mandatory='True'><value>fa-building</value></variable>
<variable type='oui/non' name='cadolesuser_niveau02view' description="Gérer un niveau 02 d'organisation"><value>oui</value></variable>
<variable type='string' name='cadolesuser_niveau02label' description="Label pluriel du niveau 02 d'organisation" mandatory='True'><value>Service</value></variable>
<variable type='string' name='cadolesuser_niveau02labels' description="Label pluriel du niveau 02 d'organisation" mandatory='True'><value>Services</value></variable>
<variable type='string' name='cadolesuser_niveau02icon' description="Icon du niveau 02 d'organisation" mandatory='True'><value>fa-sitemap</value></variable>
<variable type='string' name='cadolesuser_colormain' description="Couleur principale" mandatory='True'><value>428BCA</value></variable>
<variable type='string' name='cadolesuser_fontcolorhover' description="Couleur des polices sur fond de couleur principale" mandatory='True'><value>FFFFFF</value></variable>
<variable type='string' name='cadolesuser_moderegistration' description="Mode de registration : none / byuser / byadmin" mandatory='True'><value>none</value></variable>
<variable type='string' name='cadolesuser_keyterm' description="Taille minimun du password" mandatory='True'><value>8</value></variable>
<variable type='string' name='cadolesuser_noreply' description='Adresse mail utilisé pour le noreply' mandatory='True' />
<variable type='string' name='cadolesuser_smtphost' description='Host du serveur SMTP' />
<variable type='string' name='cadolesuser_smtpport' description='Port du serveur SMTP' />
<variable type='string' name='cadolesuser_smtpuser' description='Compte du serveur SMTP' />
<variable type='string' name='cadolesuser_smtppwd' description='Fichier contenant le mot de passe associé du compte SMTP' />
<variable type='string' name='cadolesuser_smtpencryption' description='Type Encryptage du serveur SMTP' />
<variable type='string' name='cadolesuser_smtpauthmode' description='Mode Authentification du serveur SMTP' />
<variable type='string' name='cadolesuser_db_mode' description='Serveur de bases de données à utiliser' mode='expert'/>
<variable type='string' name='cadolesuser_dbserver' description='Adresse du serveur de base de données' mode='expert'/>
<variable type='number' name='cadolesuser_dbport' description="Port d'écoute du serveur de base de données" mode='expert'/>
<variable type='string' name='cadolesuser_allow_hosts' description="Hôtes autorisés à utiliser la base de données" multi='True' mode='expert'/>
<variable type='string' name='cadolesuser_dbuser' description='Utilisateur du serveur de base de données' mode='expert'/>
<variable type='string' name='cadolesuser_dbpass' description='Fichier de mot de passe du serveur' mode='expert'/>
</family>
<separators>
<separator name="cadolesuser_syncldap">Paramètres associés à l'Annuaire</separator>
<separator name="cadolesuser_niveau01label">Paramètres associés aux look de l'application</separator>
<separator name="cadolesuser_noreply">Paramètres associés aux Mails</separator>
<separator name="cadolesuser_db_mode">Paramètres associés à la Base de Données</separator>
</separators>
</variables>
<constraints>
<condition name='hidden_if_in' source='activer_admin_passfile'>
<param>non</param>
<target type='variable'>activer_cadolesuser</target>
</condition>
<condition name='hidden_if_in' source='activer_eportail'>
<param>non</param>
<target type='variable'>cadolesuser_synceportail</target>
</condition>
<condition name='hidden_if_in' source='activer_cadolesuser'>
<param>non</param>
<target type='variable'>cadolesuser_syncldap</target>
<target type='variable'>cadolesuser_synceportail</target>
<target type='variable'>cadolesuser_pwdadmin</target>
<target type='variable'>cadolesuser_organization</target>
<target type='variable'>cadolesuser_niveau01branche</target>
<target type='variable'>cadolesuser_niveau02branche</target>
<target type='variable'>cadolesuser_niveau01name</target>
<target type='variable'>cadolesuser_niveau01siren</target>
<target type='variable'>cadolesuser_niveau01label</target>
<target type='variable'>cadolesuser_niveau01labels</target>
<target type='variable'>cadolesuser_niveau01icon</target>
<target type='variable'>cadolesuser_niveau02view</target>
<target type='variable'>cadolesuser_niveau02label</target>
<target type='variable'>cadolesuser_niveau02labels</target>
<target type='variable'>cadolesuser_niveau02icon</target>
<target type='variable'>cadolesuser_colormain</target>
<target type='variable'>cadolesuser_fontcolorhover</target>
<target type='variable'>cadolesuser_moderegistration</target>
<target type='variable'>cadolesuser_keyterm</target>
<target type='variable'>cadolesuser_noreply</target>
<target type='variable'>cadolesuser_smtphost</target>
<target type='variable'>cadolesuser_smtpport</target>
<target type='variable'>cadolesuser_smtpuser</target>
<target type='variable'>cadolesuser_smtppwd</target>
<target type='variable'>cadolesuser_smtpencryption</target>
<target type='variable'>cadolesuser_smtpauthmode</target>
<target type='variable'>cadolesuser_db_mode</target>
<target type='variable'>cadolesuser_dbserver</target>
<target type='variable'>cadolesuser_dbport</target>
<target type='variable'>cadolesuser_allow_hosts</target>
<target type='variable'>cadolesuser_dbuser</target>
<target type='variable'>cadolesuser_dbpass</target>
</condition>
<condition name='hidden_if_in' source='cadolesuser_masteridentity'>
<param>LDAP</param>
<param>SSO</param>
<target type='variable'>cadolesuser_syncldap</target>
<target type='variable'>cadolesuser_synceportail</target>
</condition>
<condition name='hidden_if_in' source='cadolesuser_syncldap'>
<param>non</param>
<target type='variable'>cadolesuser_pwdadmin</target>
<target type='variable'>cadolesuser_organization</target>
<target type='variable'>cadolesuser_niveau01branche</target>
<target type='variable'>cadolesuser_niveau02branche</target>
<target type='variable'>cadolesuser_niveau01name</target>
<target type='variable'>cadolesuser_niveau01siren</target>
<target type='variable'>cadolesuser_niveau02view</target>
<target type='variable'>cadolesuser_moderegistration</target>
</condition>
<condition name='hidden_if_in' source='cadolesuser_niveau02view'>
<param>non</param>
<target type='variable'>cadolesuser_niveau02label</target>
<target type='variable'>cadolesuser_niveau02labels</target>
<target type='variable'>cadolesuser_niveau02icon</target>
</condition>
<check name='valid_enum' target='cadolesuser_masteridentity'>
<param>['LDAP', 'SQL', 'SSO']</param>
</check>
<check name='valid_enum' target='cadolesuser_mode_auth'>
<param>['CAS', 'SAML', 'SQL', 'LDAP']</param>
</check>
<check name='valid_enum' target='cadolesuser_moderegistration'>
<param>['none', 'byuser', 'byadmin']</param>
</check>
<check name='valid_enum' target='cadolesuser_smtpencryption'>
<param>['tls', 'ssl', 'null']</param>
</check>
<check name='valid_enum' target='cadolesuser_smtpauthmode'>
<param>['plain', 'login', 'cram-md5', 'null']</param>
</check>
<check name='valid_enum' target='cadolesuser_db_mode'>
<param>['default', 'externe', 'local']</param>
</check>
<condition name='hidden_if_in' source='cadolesuser_db_mode'>
<param>local</param>
<target type='variable'>cadolesuser_dbserver</target>
<target type='variable'>cadolesuser_dbuser</target>
<target type='variable'>cadolesuser_dbport</target>
<target type='variable'>cadolesuser_dbpass</target>
</condition>
<condition name='hidden_if_in' source='cadolesuser_db_mode'>
<param>default</param>
<target type='variable'>cadolesuser_dbserver</target>
<target type='variable'>cadolesuser_dbuser</target>
<target type='variable'>cadolesuser_dbport</target>
<target type='variable'>cadolesuser_dbpass</target>
<target type='variable'>cadolesuser_allow_hosts</target>
</condition>
</constraints>
<help>
</help>
</creole>