public function reloadRolesIfRequired()
 {
     if ($this->lastSessionSerialization && count($this->roles) && $this->storage->rolesLastUpdated(array_keys($this->roles)) > $this->lastSessionSerialization) {
         $newRoles = AuthService::getRolesList(array_keys($this->roles));
         foreach ($newRoles as $rId => $newRole) {
             $this->roles[$rId] = $newRoles[$rId];
         }
         $this->recomputeMergedRole();
         return true;
     }
     return false;
 }