Repository navigation
Labels
flag: nice to haveNot on the critical path right nowpriority: lowLow prioritytype: featureNew feature or requestworkload: weeksLikely takes weeks to resolve
Description
Why?
Every web app of ours needs the same compliance features: a cookie consent that users can review and change, and a footer that links to legal and regulatory information. The Cloud Registry UI is first, then Krini, the TES dashboard and others. Operators fall under different rules, so the content and the links must be configurable. This is hard to get right, so it should be built once, here, and reused. Operators stay responsible for the configuration and the content.
What?
A framework-independent package, not tied to one API, with two components and a shared config schema:
- Cookie consent:
- a banner on the first visit;
- consent per category (necessary, plus configurable ones such as preferences and analytics);
- consent stored in the browser and re-asked when the configured categories change;
- a way to reopen the preferences;
- an API or event that other code uses to check consent before loading optional scripts.
- Compliance footer: a configurable list of items.
- The defaults aim at broad compliance: "Privacy Policy", "Terms & Conditions", "Cookie Policy", "Cookie Preferences", "Imprint", "Accessibility Statement", "Contact Us", "Your Privacy Choices".
- Operators can remove, change and add items.
- Each item has an action:
- show a static page (e.g. from Markdown the operator provides);
- show an embed (e.g. Iubenda, Termly, GetTerms; scripts load only as the embed requires and consent allows);
- open the mail client (
mailto:from config); - open the cookie preferences;
- follow an external link.
- Docs with a sample config and notes on what operators must provide.
Acceptance criteria
- An app can add consent management and a compliance footer from configuration alone, without code changes per operator.
Needed by elixir-cloud-aai/cloud-registry-ui first; meant for all our web apps.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
flag: nice to haveNot on the critical path right nowpriority: lowLow prioritytype: featureNew feature or requestworkload: weeksLikely takes weeks to resolve
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(design): scope consent events and merge prefs