diff --git a/CHANGELOG.md b/CHANGELOG.md index f74c0400ae4c125bb29af54f5b578c5b0fa517bd..99ce24f18eef70d0701b614c6a12b0aedd6812ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ Toutes les modifications apportées au projet seront documentées dans ce fichier. Le format est basé sur le modèle [Keep a Changelog](http://keepachangelog.com/) et adhère aux principes du [Semantic Versioning](http://semver.org/). +[2.1.4] - XX-XX-2022 +===== + +### Ajouts + +### Evolutions + +### Corrections +- [#644](https://gitlab.libriciel.fr/libriciel/pole-citoyens/web-DPO/web-DPO/-/issues/644) + Correction du droit d'accès à la page de préférence de l'utilisateur connecté lorsqu'il provient d'un LDAP + [2.1.3] - 02-02-2022 ===== diff --git a/VERSION.txt b/VERSION.txt index ac2cdeba0137a6c2cbca06867b7ab994a913e294..7d2ed7c702057c90027b0e18808d3ea3c60d35c6 100755 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -2.1.3 +2.1.4 diff --git a/app/Controller/UsersController.php b/app/Controller/UsersController.php index 76b9b7a6c5bac4335518f98a724c38c37774ac8d..cf177056962903e4c025e217e6c92787ef8b16dd 100644 --- a/app/Controller/UsersController.php +++ b/app/Controller/UsersController.php @@ -1188,13 +1188,11 @@ class UsersController extends AppController { * @author Théo GUILLON <theo.guillon@libriciel.coop> * @add 09/04/2019 * @version V1.0.2 + * + * @modified V2.1.4 */ public function preferences() { - if ($this->Auth->user('ldap') === true) { - throw new ForbiddenException(__d('default', 'default.flasherrorPasDroitPage')); - } - $this->User->id = $this->Auth->user('id'); if (!$this->User->exists()) {