Privacy controls and sensitive value redaction
Ensures that persisted or shared state never leaks sensitive data. Columns can be marked as sensitive so that their filter operands, quick-search text and selected row ids are excluded or redacted before storage or URL encoding. Policies can be set per destination, for example stricter rules for the URL than for local storage.
Planned. This page shows the specification from issue #201. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A patient-record grid with mock data, where Name and SSN are marked sensitive, and side-by-side previews of the local, server and URL payloads.
Expected behavior
Filtering Name for 'Smith' shows the full filter in the live grid. In the URL preview, the filter is either removed or shows a redaction placeholder. The server preview keeps the filter structure but removes the operand. Restoring a redacted filter leaves that column filter inactive and shows an indicator.
Planned API surface
column.sensitiveprivacy: {redactFilterValues, excludeQuickFilter, excludeSelection, perDestination}redactState(state, policy)stateSanitizer hookAcceptance criteria
- Operands of filters on sensitive columns never appear in any destination that has redaction enabled, and this is verified by scanning the payload for the test string. (pending)
- Redaction is applied after serialization and before the adapter receives the payload, and adapters cannot bypass it. (pending)
- Placeholder mode keeps the filter's operator but uses a non-reversible marker in place of the value. (pending)
- Restoring a placeholder filter does not apply an empty filter that would silently change results. (pending)
- The stateSanitizer hook runs last and can only remove data, never add it, which is enforced in development mode. (pending)