feat(legal): Add the privacy policy page#83
Merged
Conversation
Add a French privacy policy page at /privacy (GDPR information duty, art. 13) served by a new LegalController and privacy.html template with lang set to fr, matching the language of its content. The page states the data controller and contact, the data collected, the purposes with their legal bases, the retention durations (marked for validation before production), the data subject rights with the CNIL recourse, and the strictly necessary JSESSIONID cookie. Link the page from the home navigation and from the login and register pages, since the information must be reachable at collection time, and allow anonymous access to /privacy in the security filter chain. A new PrivacyPageTest proves an anonymous visitor gets the page. Fixes #80
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #83 +/- ##
============================================
+ Coverage 75.58% 76.13% +0.55%
- Complexity 22 24 +2
============================================
Files 8 9 +1
Lines 86 88 +2
Branches 5 5
============================================
+ Hits 65 67 +2
Misses 16 16
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a French privacy policy page at
/privacy(GDPR (RGPD) information duty, art. 13) served by a new LegalController and privacy.html template withlangset tofr, matching the language of its content.The page states the data controller and contact, the data collected, the purposes with their legal bases, the retention durations (marked for validation before
production), the data subject rights with the CNIL recourse, and the strictly necessary
JSESSIONIDcookie.Link the page from the
homenavigation and from theloginandregisterpages, since the information must be reachable at collection time, and allows anonymous access to/privacyin the security filter chain.A new
PrivacyPageTestproves that an anonymous visitor gets the page.Fixes #80