Require read_code instead of download_code for search
What does this MR do and why?
Require read_code instead of download_code for search
read_code is meant to be the abilities that are currently allowed by having download_code except specifically not related to downloading code.
Users that can download_code can also read_code.
Contributes to: #376180 (closed)
Changelog: other
How to set up and validate locally
- Create a private project
- Add a commit with a new file
- Add a user to the project with reporter access
- Search within the project for the file and see results exist
- Search within the project for the commit and get redirected to the commit
- Add a user to the project with guest access
- Search within the project for the file and see no results
- Search within the project for the commit and see no results
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #376180 (closed)
Edited by Jerry Seto