27 $this->controller->addError(static::class,
'Wrong instance');
32 if ($this->user->isCollaber())
34 $this->controller->addError(static::class,
'Access denied by collaber role');
39 if (!$this->controller->forward(GroupAccessController::class, GroupDictionary::LEAVE, $item,
$params))
41 $this->controller->addError(static::class,
'Access denied by group controller');