summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-09-05 09:47:02 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-09-05 09:47:02 (GMT)
commit81acab51bf057e892700d39e553d32fddf14c5ff (patch)
treed564b751d5ea36a0a7e4ba80a6133c88fd0ccf02
parent7a42bec472536c5586d737b582e767ddb74ac1c2 (diff)
downloadcfdt-81acab51bf057e892700d39e553d32fddf14c5ff.zip
cfdt-81acab51bf057e892700d39e553d32fddf14c5ff.tar.gz
cfdt-81acab51bf057e892700d39e553d32fddf14c5ff.tar.bz2
corrige le caractère requis des champs de cfdtRole, cfdtFederation et cfdtRegion
-rw-r--r--poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php3
-rw-r--r--poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php3
-rw-r--r--poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php3
3 files changed, 6 insertions, 3 deletions
diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php
index cef8653..648ba4b 100644
--- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php
+++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtFederation.php
@@ -61,6 +61,7 @@ $GLOBALS['LSobjects']['cfdtFederation'] = array (
'label' => 'Description/Commentaire',
'ldap_type' => 'ascii',
'html_type' => 'textarea',
+ 'required' => 1,
'multiple' => 1,
'rights' => array(
'self' => 'r',
@@ -88,7 +89,7 @@ $GLOBALS['LSobjects']['cfdtFederation'] = array (
'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par
)
),
- 'required' => 0,
+ 'required' => 1,
'multiple' => 1,
'validation' => array (
array (
diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php
index 9a921ff..8b0516d 100644
--- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php
+++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRegion.php
@@ -61,6 +61,7 @@ $GLOBALS['LSobjects']['cfdtRegion'] = array (
'label' => 'Description/Commentaire',
'ldap_type' => 'ascii',
'html_type' => 'textarea',
+ 'required' => 1,
'multiple' => 1,
'rights' => array(
'self' => 'r',
@@ -88,7 +89,7 @@ $GLOBALS['LSobjects']['cfdtRegion'] = array (
'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par
)
),
- 'required' => 0,
+ 'required' => 1,
'multiple' => 1,
'validation' => array (
array (
diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php
index e6a35bd..ed3dc7d 100644
--- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php
+++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtRole.php
@@ -80,6 +80,7 @@ $GLOBALS['LSobjects']['cfdtRole'] = array (
'label' => 'Description/Commentaire',
'ldap_type' => 'ascii',
'html_type' => 'textarea',
+ 'required' => 1,
'multiple' => 1,
'rights' => array(
'self' => 'r',
@@ -107,7 +108,7 @@ $GLOBALS['LSobjects']['cfdtRole'] = array (
'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par
)
),
- 'required' => 0,
+ 'required' => 1,
'multiple' => 1,
'validation' => array (
array (