Edit download_code permission to include a custom role
5th step based on the technical discovery:
edit
ProjectPolicy
: depending on the feature flagdownload_code
should use the existing logic or evaluate it based on theRole
associated with the user in that group hierarchy (weight:3
)
This will be API based for the MVC of "Users can create a new role that uses Reporter
as a template. The only customizable permission is view source code
(enabled or not). Depending on LoE, we can make this API only to start with."
Idea for this change on the code level is described in #352891 (comment 1027800545).
Edited by Imre Farkas