Render EE or CE version based on permissions

What does this MR do and why?

Renders the EE or CE version based on permissions.

Screenshots or screen recordings

EE CE
image image

How to set up and validate locally

  1. Import https://gitlab.com/gitlab-examples/security/security-reports
  2. Create a new MR by modifying a file
  3. A free user should see the CE version
  4. A user with license should see the EE version

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #365505 (closed)

Merge request reports

Loading