Alanaktion / phproject

A high performance full-featured project management system
https://www.phproject.org
GNU General Public License v3.0
389 stars 106 forks source link

Allow author to access issues they created with restricted access enabled #413

Closed Citydampf closed 1 year ago

Citydampf commented 1 year ago

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. https://github.com/Alanaktion/phproject/blob/f39a64025ceddbd2ebabcdc16b92aee5b8aaf7db/app/model/issue.php#L620

Alanaktion commented 1 year ago

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