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::EMAILONREPLY:
|
||||||
case Right::EMAILONSUBSCRIBE:
|
case Right::EMAILONSUBSCRIBE:
|
||||||
case Right::EMAILONFAVE:
|
case Right::EMAILONFAVE:
|
||||||
$result = !$this->isSandboxed();
|
$result = !$this->isSandboxed() && !$this->isSilenced();
|
||||||
break;
|
break;
|
||||||
case Right::WEBLOGIN:
|
case Right::WEBLOGIN:
|
||||||
$result = !$this->isSilenced();
|
$result = !$this->isSilenced();
|
||||||
|
Loading…
Reference in New Issue
Block a user