Alanaktion/phproject

Allow author to access issues they created with restricted access enabled

Citydampf opened this issue · 1 comments

Hello Alan,
the behavor of this function is: when i assigne a ticket to another user, i cant see it anymore when security.restrict_access is ON;
i am missing $this->author_id = $user->id in the IF
but it is philosophy.

public function allowAccess(\Model\User $user = null): bool

I agree, the author should have access to view an issue they created when security.restrict_access is on. I'll update that.