From 8f8f9a4f5f58417a8122f038144bfae1211d0858 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 5 Sep 2016 12:47:28 +0200 Subject: [PATCH] rend cfdtAuthorizedRole optionnel sur cfdtApplication --- poc-1/schemas/cfdt.ldif | 3 ++- .../conf/LSobjects/config.LSobjects.cfdtApplication.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poc-1/schemas/cfdt.ldif b/poc-1/schemas/cfdt.ldif index 88f980c..8d4900a 100644 --- a/poc-1/schemas/cfdt.ldif +++ b/poc-1/schemas/cfdt.ldif @@ -95,7 +95,8 @@ olcObjectClasses: ( cfdtLDAPObjectClasses:2 olcObjectClasses: ( cfdtLDAPObjectClasses:3 NAME 'cfdtApplication' DESC 'une application' - MUST ( cn $ description $ labeledURI $ cfdtAuthorizedRole )) + MUST ( cn $ description $ labeledURI ) + MAY ( cfdtAuthorizedRole ) # olcObjectClasses: ( cfdtLDAPObjectClasses:4 NAME 'cfdtRegion' diff --git a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtApplication.php b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtApplication.php index 7045788..79cf3fb 100644 --- a/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtApplication.php +++ b/poc-2/ldapsaisie-conf/conf/LSobjects/config.LSobjects.cfdtApplication.php @@ -110,7 +110,6 @@ $GLOBALS['LSobjects']['cfdtApplication'] = array ( ), 'required' => 0, 'multiple' => 1, - 'required' => 1, 'validation' => array ( array ( 'basedn' => '%{val}',