Skip to content

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

  1. Create a group named parent
    1. create 2 sub-groups
    2. Add a project to each group
  2. Add a compliance framework for the group
    1. Make it the default
  3. Add another compliance framework for the group
  4. Assign the default framework to one project
  5. Assign another framework to a different project
  6. Visit the Compliance Center for the group
  7. On the top right in the compliance center
    • image
    1. Select "Export list of project frameworks"
  8. Verify email and csv attachment is sent

Related to #442064 (closed)

Edited by Jay Montal

Merge request reports

Loading