Some rights one does not have if either sandboxed or silenced
This commit is contained in:
parent
d6598e790c
commit
53772ba305
@ -1325,7 +1325,7 @@ class Profile extends Managed_DataObject
|
||||
case Right::EMAILONREPLY:
|
||||
case Right::EMAILONSUBSCRIBE:
|
||||
case Right::EMAILONFAVE:
|
||||
$result = !$this->isSandboxed();
|
||||
$result = !$this->isSandboxed() && !$this->isSilenced();
|
||||
break;
|
||||
case Right::WEBLOGIN:
|
||||
$result = !$this->isSilenced();
|
||||
|
Loading…
Reference in New Issue
Block a user