-
Notifications
You must be signed in to change notification settings - Fork 0
Business
kneshi edited this page May 7, 2026
·
1 revision
User-management rules (signup, invite, login, role matrix, self-management restrictions) live in Authentication. This page covers workflow constraints on the data the app manages.
- Treatments start as
draft - Only a DPO can validate (sets
validated_byandvalidated_at) or invalidate back todraft - Admin or DPO can delete treatments
- Admin, DPO, and editor can edit; auditors are read-only
- Per-row actions on
/register(edit, export PDF, mark reviewed, delete) use an in-app confirmation dialog (Radix), not browserwindow.confirm()
- One response per item (upsert on
item_id) - Optional non-conformity reason when response is
no - Tracks who responded and when
-
notified_to_cniltracks 72-hour GDPR breach notification -
notified_to_personstracks data subject notification
- All mutations logged with
old_value/new_valueas JSONB - Hash-chained (HMAC over the previous row + current payload, keyed by
AUDIT_HMAC_SECRET) for tamper evidence - Application-enforced append-only - DB-level INSERT-only role split is deferred