aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
145 stars 174 forks source link

[Issue tracker] I do not need permission issue_tracker_reporter to create new issues #6696

Open nicolasbrossard opened 4 years ago

nicolasbrossard commented 4 years ago

Describe the bug I have access to the 'New Issue' page even though I do not have permission issue_tracker_reporter

To Reproduce Log in as a user that has permission issue_tracker_developer but not issue_tracker_reporter. The 'New Issue' button is clickable.

What did you expect to happen? According to item 1 of the 'Create New Issue` section, I should not be able to create a new issue.

laemtl commented 4 years ago

@nicolasbrossard The test plan has been updated for:

User can access the page if they have issue_tracker_reporter or issue_tracker_developer permission.

Unfortunately, this PR is still not merged.

christinerogers commented 1 year ago

Can this issue be closed if it's no longer a bug?

cc @nicolasbrossard @SantiagoTG @racostas in case anyone knows

nicolasbrossard commented 2 months ago

I don't think it makes sense to be able to create a new issue without permission issue_tracker_reporter (according to the permission description text, its the only permission that should allow you to do so...) Still a bug IMHO in 2024SEP17.