diff --git a/core/src/plugins/core.conf/class.AbstractAjxpUser.php b/core/src/plugins/core.conf/class.AbstractAjxpUser.php index da86fefa31..02b7752ba5 100644 --- a/core/src/plugins/core.conf/class.AbstractAjxpUser.php +++ b/core/src/plugins/core.conf/class.AbstractAjxpUser.php @@ -607,6 +607,9 @@ public function __sleep(){ public function __wakeup(){ $this->storage = ConfService::getConfStorageImpl(); + if(is_string($this->personalRole)){ + $this->personalRole = AuthService::getRole($this->personalRole); + } $this->recomputeMergedRole(); }