Skip to content

Don't generate security configuration paths in FOSS [RUN AS-IF-FOSS]

What does this MR do?

This fixes an issue that broke FOSS as we attempted to generate a link for a feature that is only available in EE.

  • The hash to be passed down to the Vue app has been moved out of the HAML and into a helper module.
  • An EE override is now responsible for adding the EE-only link to the hash.
  • Added specs for the helper and its override.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #327275 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading