Fix: Check SoftDeleted user state in ControllerAccess

This commit is contained in:
Lucas Bartholemy 2018-12-18 13:55:54 +01:00
parent eedc64c2ec
commit c62079c706
2 changed files with 4 additions and 1 deletions

View File

@ -441,7 +441,9 @@ class ControllerAccess extends BaseObject
*/
public function validateDisabledUser()
{
return $this->isGuest() || $this->user->status !== User::STATUS_DISABLED;
return $this->isGuest() ||
($this->user->status !== User::STATUS_DISABLED &&
$this->user->status !== User::STATUS_SOFT_DELETED);
}
/**

View File

@ -9,6 +9,7 @@ HumHub Change Log
- Fix: Space un-archived activity view path broken
- Enh: Accepting module README.md files in 'docs' directory
- Fix: Include user profile posts option in dashboard stream broken
- Fix: Check SoftDeleted user state in ControllerAccess
1.3.8 (December 10, 2018)