Refactor compliance frameworks export
What does this MR do and why?
What
- Refactors framework to project_framework (match frontend)
- Updates controllers, emails, etc
- Updates attached csv name to reflect better
Why
- Preparation for new frameworks report export
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No visual frontend changes
How to set up and validate locally
- Create a group named
parent
- create 2 sub-groups
- Add a project to each group
- Add a compliance framework for the group
- Make it the default
- Add another compliance framework for the group
- Assign the default framework to one project
- Assign another framework to a different project
- Visit the Compliance Center for the group
- On the top right in the compliance center
- Select "Export list of project frameworks"
- Verify email and csv attachment is sent
Related to #442064 (closed)
Edited by Jay Montal