Make description a required attribute and do not generate it using 'o' or 'ou' attributes (fixes #9800)

This commit is contained in:
Benjamin Dauvergne 2016-02-15 15:57:14 +01:00
parent c6ec74edcf
commit cc18bd29c6
3 changed files with 3 additions and 8 deletions

View File

@ -124,9 +124,6 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
'modify' => 1,
'create' => 1
),
'dependAttrs' => array (
'description'
)
),
/* ----------- end -----------*/
@ -208,7 +205,7 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
'label' => 'Description',
'ldap_type' => 'ascii',
'html_type' => 'textarea',
'generate_value_format' => '%{ou}',
'required' => 1,
'multiple' => 0,
'rights' => array(
'admin' => 'w'

View File

@ -89,6 +89,7 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
'ldap_type' => 'ascii',
'html_type' => 'textarea',
'multiple' => 0,
'required' => 1,
),
/* ----------- end -----------*/
@ -132,9 +133,6 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
'modify' => 1,
'create' => 1
),
'dependAttrs' => array (
'description'
)
),
/* ----------- end -----------*/

View File

@ -193,8 +193,8 @@ $GLOBALS['LSobjects']['LSsupannOrg'] = array (
'label' => 'Description',
'ldap_type' => 'ascii',
'html_type' => 'textarea',
'generate_value_format' => '%{o}',
'multiple' => 0,
'required' => 1,
'rights' => array(
'admin' => 'w'
),