diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bb9fd86728158d3d0c97945853ebe229587d522..86135e8472831c96485cf7d1517432099749f571 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,3 +65,24 @@ et "supannEtuTypeDiplome" ------------------- - Ajout de l'attribut "unicaenMailPrincipal" + +3.1.13 (20/05/2021) +------------------- + +- [Fix] L'attribut supannEmpCorps peut contenir des caractères spéciaux : -/ + +3.1.14 (02/06/2021) +------------------- + +- [Fix] Prise en compte d'un diplôme inconnu ({INCONNU}) dans l'attribut supannEtuInscription + +3.1.16 (29/11/2021) +------------------- + +- Ajout de l'attribut "schacPersonnalUniqueCode" et de sa classe d'objet "schacLinkageIdentifiers" + +3.1.17 (21/02/2022) +------------------- + +- Ajout de l'attribut "unicaenRefProfil" +- Suppression des attributs "ucbnOrganisme" et "unicaenMonEtupass" \ No newline at end of file diff --git a/src/UnicaenLdap/Entity/Base/People.php b/src/UnicaenLdap/Entity/Base/People.php index 36cbe7eb80991454dc9565bbecf9bd5f02a5043d..90f1bfbb3ac5c170c6af52ff693f55c0c404ed31 100644 --- a/src/UnicaenLdap/Entity/Base/People.php +++ b/src/UnicaenLdap/Entity/Base/People.php @@ -141,7 +141,6 @@ class People extends Entity 'ucbnCodeEtape', 'ucbnEtuComplementInscription', 'ucbnFonctionStructurelle', - 'ucbnOrganisme', 'ucbnPrivateAddress', 'ucbnPrivateAddressBis', 'ucbnSecteurDisciplinaire', @@ -161,8 +160,8 @@ class People extends Entity 'uidNumber', 'unicaenLeocarteCSN', 'unicaenMailPrincipal', - 'unicaenMonEtupass', 'unicaenRefId', + 'unicaenRefProfil', 'unicaenSecuriteCompte', 'unicaenServiceEtat', 'unicaenTermsOfUse', @@ -1646,6 +1645,27 @@ class People extends Entity return $this; } + /** + * Attribut Ldap "unicaenRefProfil" + * + * @param array|string|null $value + * @param bool $append + * @return self + * @throws Exception + * @throws LdapException + */ + public function setUnicaenRefProfil($value = null, $append = false) + { + $value = $this->preFormat($value); + $value = array_filter($value, function($v) { + return preg_match('/^[\w]+$/i', $v); + }); + + $this->appendOrNot('unicaenRefProfil', $value, $append); + + return $this; + } + /** * Attribut Ldap "unicaenServiceEtat" *