protected function permCheck() : bool
{
if ($this->isSuperUser()) {
return true;
}
$authorsForUser = $this->author->getAuthorIdsForUser($this->getActiveUserId());
// Check
if (!\in_array($this->authorId, $authorsForUser)) {
return false;
}
return true;
}