diff --git a/src/conf/LSobjects/config.LSobjects.LSgroup.php b/src/conf/LSobjects/config.LSobjects.LSgroup.php index 0db7c1a8..f3527e8e 100644 --- a/src/conf/LSobjects/config.LSobjects.LSgroup.php +++ b/src/conf/LSobjects/config.LSobjects.LSgroup.php @@ -101,13 +101,20 @@ $GLOBALS['LSobjects']['LSgroup'] = array ( 'html_type' => 'select_object', 'html_options' => array( 'selectable_object' => array( - 'object_type' => 'LSpeople', // Nom de l'objet à lister - 'display_name_format' => '%{cn} (%{uidNumber})', // Spécifie le attributs à lister pour le choix, + array( + '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' // 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, 'multiple' => 1, diff --git a/src/conf/LSobjects/config.LSobjects.LSsysaccount.php b/src/conf/LSobjects/config.LSobjects.LSsysaccount.php index 8337792b..ee7a8d80 100644 --- a/src/conf/LSobjects/config.LSobjects.LSsysaccount.php +++ b/src/conf/LSobjects/config.LSobjects.LSsysaccount.php @@ -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 'attrs' => array (