[Backend] Define roles allowed to manage project-level exclusions
Overview
This issue tracks the work required to define and set which roles are allowed to manage project-level exclusions. We have made a decision to only allow maintainer+ roles to control exclusions, but we need to have this defined in the code as well through the project policy.
Implementation Plan
-
Update project_policyto ensure onlymaintainer_accessand above canmanage_project_security_exclusions. -
Update project_policyto ensureauditoranddevelopercanread_project_security_exclusions. -
Update corresponding tests to confirm this works as intended.
Edited by Ahmed Hemdan