diff --git a/app/model/issue.php b/app/model/issue.php index 910c3bcb..e3d3ea05 100644 --- a/app/model/issue.php +++ b/app/model/issue.php @@ -637,6 +637,8 @@ public function allowAccess(\Model\User $user = null): bool } $helper = \Helper\Dashboard::instance(); - return ($this->owner_id == $user->id) || in_array($this->owner_id, $helper->getGroupIds()); + return ($this->owner_id == $user->id) + || ($this->author_id == $user->id) + || in_array($this->owner_id, $helper->getGroupIds()); } }