public function isAllowed()
 {
     return parent::isAllowed() && $this->threadChatRights && $this->threadChatRights->canEditPages;
 }
 public function isAllowed()
 {
     return parent::isAllowed() && $this->boardRights && $this->boardRights->canStickThreads;
 }
Exemple #3
0
 public function isAllowed()
 {
     return parent::isAllowed() && ($this->boardRights && $this->boardRights->canBan) || $this->threadChatRights && $this->threadChatRights->canBan;
 }