24 $this->controller->addError(static::class,
'Wrong instance');
29 if ($item->getId() <= 0)
31 $this->controller->addError(static::class,
'Group not found');
36 if (!$this->getAccessManager($item, $this->user->getUserId(), $this->user->getUserId())->canModify())
38 $this->controller->addError(static::class,
'Access denied by permissions');