Skip to main content

Review and edit the data map

ADMIN GUIDE

See which collections hold data about people, and decide what an export and an erasure do with each one.

Who this guide is for

Superusers who run a Claviger install. You need to sign in to the admin screen at /_/.

Why it matters

Export and erasure only reach collections on the map. A collection that holds personal data and is not mapped is not exported and not erased. Keep the unmapped list empty.

What you will do, in one sentence

Open Data protection, then Data map, and give every unmapped collection an entry.

Screens are captured from a seeded test system. Every name, address and number on the screens is invented. Prepared 15 November 2026.

1. What the data map says​

The data map has one row for each collection. It says which fields link a row to a person, which fields hold personal data, and what happens on erasure. Only superusers can see it.

Open Data protection in the admin menu, then Data map. The table shows Collection, Treatment, Subject paths, Fields, Retain reason, Age-out basis and Actions.

The data map with the unmapped warning.The data map with the unmapped warning.
The data map with the unmapped warning.
TreatmentOn exportOn erasure
eraseExported.Rows are deleted.
anonymizeExported.Personal fields are blanked.
retainExported.Rows are kept for the stated reason.
exportExported.Left alone.
noneNot exported.Left alone. It holds no personal data.

Built-in entries ship with Claviger. They cannot be changed or removed, even by a superuser.

2. Map an unmapped collection​

An orange notice says how many collections have no data map entry. Each name is a button. none counts as mapped, so use it for a collection you reviewed that holds no personal data.

  1. Press the collection's name, or press Map a collection.
  2. Fill in the form.
  3. Press Add.
The Map a collection form.The Map a collection form.
The Map a collection form.
FieldWhat to enter
CollectionThe collection name.
Treatment on erasureOne of the five treatments above.
Subject pathsThe fields that link a row to a person, separated by commas. Use id when the row is the person.
Personal fieldsThe fields that hold personal data, separated by commas.
Retain reason (required for retain)Why the rows are kept.
Age-out basis (date field, optional)The date field after which rows age out.
NoteFree text.

Claviger checks the entry. The collection must exist. A retain entry needs a reason. Any treatment except none needs a subject path.

3. Edit or remove an entry​

Press Edit on one of your own entries to change it. Press Remove and confirm to delete it. The collection then shows as unmapped again.

Retention and anonymizing depend on the map

An anonymize retention policy blanks only the personal fields in the entry. A collection with no personal fields listed cannot have one enabled. A legal hold on a person reaches only the rows that the subject paths tie to them.

Lawyer note

Whether to keep a record against an erasure request, and why, is a legal question. Ask a lawyer before you pick retain and write the reason.

4. Quick reference card​

Clear the unmapped list​

  1. Data protection, Data map.
  2. Press each name in the orange notice.
  3. Choose a Treatment on erasure. Press Add.

Check​

  1. Look for "Every collection has a data map entry."

The route GET /api/data-map/unmapped returns the same list for scripts.