ajout du support de eduPersonScopedAffiliation (fixes #23600)
This commit is contained in:
parent
8727cca3ea
commit
bb86f284f8
|
@ -105,6 +105,7 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
'userPassword',
|
||||
'supannEtablissement',
|
||||
'eduPersonAffiliation',
|
||||
'eduPersonScopedAffiliation',
|
||||
'eduPersonPrimaryAffiliation',
|
||||
'description',
|
||||
'supannParrainDN',
|
||||
|
@ -819,6 +820,32 @@ $GLOBALS['LSobjects']['LSsupannPerson'] = array (
|
|||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
/* ----------- start -----------*/
|
||||
'eduPersonScopedAffiliation' => array (
|
||||
'label' => 'Profils eduPerson scopés',
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'text',
|
||||
'check_data' => array (
|
||||
'regex' => array(
|
||||
'msg' => "De la forme affiliation@domaine.fr.",
|
||||
'params' => array(
|
||||
'regex' => '/^(student|faculty|staff|employee|member|affiliate|alum|researcher|retired|emeritus|teacher|registered-reader)@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$/',
|
||||
),
|
||||
),
|
||||
),
|
||||
'multiple' => 1,
|
||||
'rights' => array(
|
||||
'self' => 'r',
|
||||
'admin' => 'w'
|
||||
),
|
||||
'view' => 1,
|
||||
'form' => array (
|
||||
'modify' => 1,
|
||||
'create' => 1
|
||||
)
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
/* ----------- start -----------*/
|
||||
'labeledURI' => array (
|
||||
'label' => "URL du site web personnel",
|
||||
|
|
Reference in New Issue