mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-07-05 17:37:46 +02:00
LSgroup: allow possibility to select sysaccounts
This commit is contained in:
parent
e53331c0ec
commit
9aec383694
|
@ -101,13 +101,20 @@ $GLOBALS['LSobjects']['LSgroup'] = array (
|
||||||
'html_type' => 'select_object',
|
'html_type' => 'select_object',
|
||||||
'html_options' => array(
|
'html_options' => array(
|
||||||
'selectable_object' => array(
|
'selectable_object' => array(
|
||||||
'object_type' => 'LSpeople', // Nom de l'objet à lister
|
array(
|
||||||
'display_name_format' => '%{cn} (%{uidNumber})', // Spécifie le attributs à lister pour le choix,
|
'object_type' => 'LSpeople', // Nom de l'objet à lister
|
||||||
|
'display_name_format' => '%{cn} (%{uidNumber})', // Spécifie le attributs à lister pour le choix,
|
||||||
// si non définie => utilisation du 'display_name_format'
|
// si non définie => utilisation du 'display_name_format'
|
||||||
// de la définition de l'objet
|
// de la définition de l'objet
|
||||||
|
|
||||||
'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par
|
'value_attribute' => 'dn', // Spécifie le attributs dont la valeur sera retournée par
|
||||||
)
|
),
|
||||||
|
array(
|
||||||
|
'object_type' => 'LSsysaccount',
|
||||||
|
'value_attribute' => 'dn',
|
||||||
|
)
|
||||||
|
),
|
||||||
|
'ordered' => true,
|
||||||
),
|
),
|
||||||
'required' => 0,
|
'required' => 0,
|
||||||
'multiple' => 1,
|
'multiple' => 1,
|
||||||
|
|
|
@ -38,6 +38,21 @@ $GLOBALS['LSobjects']['LSsysaccount'] = array (
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// LSrelation
|
||||||
|
'LSrelation' => array(
|
||||||
|
'groups' => array(
|
||||||
|
'label' => 'Belongs to groups ...',
|
||||||
|
'emptyText' => "Doesn't belong to any group.",
|
||||||
|
'LSobject' => 'LSgroup',
|
||||||
|
'linkAttribute' => "uniqueMember",
|
||||||
|
'linkAttributeValue' => "dn",
|
||||||
|
'rights' => array(
|
||||||
|
'admin' => 'w',
|
||||||
|
'admingroup' => 'w'
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
|
||||||
// Attributes
|
// Attributes
|
||||||
'attrs' => array (
|
'attrs' => array (
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue