SHADE is young: 0.1.0-next.2 is a pre-release, and 0.1.0 isn't out yet.

SHADE
People, security and privacy

Consent banner

A banner on the site that asks visitors for permission before modules load something that needs it: an embedded map, a video, a tracking pixel. SHADE's own parts need no consent (the necessary sign-in cookie), so a site without such modules shows no banner.

What a visitor can do

  • Read what each category is for, open More about to see why it is asked, where it loads from, which cookies it sets and for how long, and the outside party's privacy statement; tick the ones they allow, and choose Only necessary, Save choice or Allow all. The three buttons look the same. Nothing is ticked beforehand and nothing loads before they choose.
  • Reopen it later with the Privacy settings link in the site's footer (or the button in the bottom corner, on a page without that link), and change their choice. Taking something back removes the cookies the site set for it and reloads the page.
  • Where a category needs proof, read the reference of their choice in the reopened banner, to ask you about it or to have it deleted.

Screens

The banner sits at the bottom of every page, as a region named by its heading:

DutchEnglish
HeadingJouw privacyYour privacy
TextDeze site gebruikt alleen wat nodig is. Voor de onderdelen hieronder vragen we eerst je toestemming; je kunt je keuze altijd aanpassen.This site only uses what it needs. For the parts below we ask your permission first; you can change your choice at any time.
ButtonsAlleen noodzakelijk, Keuze opslaan, Alles toestaanOnly necessary, Save choice, Allow all
DetailsMeer over …: Waarom, Laadt van, Cookies, PrivacyverklaringMore about …: Why, Loads from, Cookies, Privacy statement
Reopen (footer link, or the corner button)Privacy-instellingenPrivacy settings
Reference (only where a category needs proof)Kenmerk van je keuzeReference of your choice

One checkbox per category, with the module's label and description in the page's language.

Rules and limits

  • Shown only while a switched-on module declares a category; never in the editor's preview.
  • Every module that adds something to the site's pages from outside, or adds to their head, says so before it is installed: the categories it asks for, with the outside addresses each loads from, the cookies each sets and for how long, and the outside party's privacy statement; or why it needs no consent (analytics counts page views on your own instance, without cookies). You see this when you install or approve it, and on the Modules page; a module that says neither is refused.
  • The texts your visitors read about your own use of their data (your privacy statement) are yours to write.
  • The choice is kept in the visitor's browser only (the categories asked about, the ones allowed, and when). A new category, or one whose module changed what it says, asks again; a category that is gone is dropped.
  • What a module adds to every page's head waits until the visitor allows its category.
  • A video or map from outside (YouTube, Vimeo, OpenStreetMap) shows a notice in its place until the visitor allows it: what it is, where it loads from, the provider's privacy statement, Alleen deze laden / Load this one (only this one, now) and Altijd toestaan / Always allow (every one from that provider, kept with their choice). If storage is blocked, the choice holds for the current page.
  • No cookie is set. Nothing is sent to SHADE either, unless a category needs proof (a module marks it so: marketing or advertising, say). Then each choice is also kept on your instance as a receipt: a random reference the visitor's browser made, which version of the banner they answered, what they allowed and refused, and when. No IP address and no browser string; for a signed-in user, their account. Receipts are kept 3 years after the choice and then deleted; you cannot change that period. Find and delete one on Privacy.
  • Every version of the banner is kept for good: its categories with everything they said, in every language they were written in, and when it was live. You read them on Privacy, under Consent banner versions. A receipt points at the version it answered.
  • Consent given in a form is stored with the submission (the form's consent setting, see Forms).
  • A module that needs no consent may still let you choose to ask for it: analytics' Ask for consent setting (see Analytics). The Modules page shows it as both an exemption and a category.

For developers

The code and its tests: shade/features/consent/README.md in the shade repository.