Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Citydampf opened this issue Jan 30, 2023 · 1 comment
Closed
Assignees
Labels

Comments

@Citydampf
Copy link

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

@Alanaktion Alanaktion self-assigned this Jan 30, 2023
@Alanaktion Alanaktion added the bug label Jan 30, 2023
@Alanaktion
Copy link
Owner

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

@Alanaktion Alanaktion changed the title question about function allowAccess Allow author to access issues they created with restricted access enabled Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants