Show "Terms and privacy" entry within Help if "Terms of Service and Privacy Policy" is defined (self-hosting)
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this MR do and why?
Show Terms of Service and Privacy Policy entry within Help if defined
Some instances need to provide prominent links to the Terms of Use and
Privacy Policy. This MR extends the Help menu and adds a link to
/-/users/terms
if terms have been defined by the instance Admin via
Admin Area->Settings->General->Terms of Service and Privacy Policy
.
Changelog: added
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
Before | New |
---|---|
How to set up and validate locally
- Visit Help Menu
- Apply Patch
- Add some terms within
Admin Area->Settings->General->Terms of Service and Privacy Policy
- Visit Help Menu, see the Link
Terms and privacy
Edited by Roger Meier