Don't generate security configuration paths in FOSS [RUN AS-IF-FOSS]
requested to merge 327275-foss-project_security_configuration_api_fuzzing_path-undefined into master
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
-
📋 Does this MR need a changelog?- [-] I have included a changelog entry.
-
I have not included a changelog entry because this fixes an unreleased issue.
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #327275 (closed)
Edited by Paul Gascou-Vaillancourt