Altinn / Altinn/app-frontend-react

Partial masking of data in form

Open
#1,117 9 comments 0 reactions 0 assignees View on GitHub
kind/feature-request org/brg status/for-consideration
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

## Is your feature request related to a problem? Please describe
Forms may have prefill where it's relevant that part of the data is masked, so people see enough to be certain that the data is correct, but not so much that delicate information is overexposed.

Having this kind of masking in the PDF would also be beneficial - as it would make it possible to store PDFs without storing unnecessary delicate data.

## Describe the solution you'd like
App developer should be able to define masking rules for fields - e.g. for field X mask all characters after the first 6.

## Describe alternatives you've considered
Demand that data is masked from the source of prefill, and that delicate fields are not part of the PDF.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing how form prefill data and PDF output are handled, then determine how app-defined field masking rules should be represented and applied; done means sensitive values are partially masked in both form displays and generated PDFs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.