altinn-studio
altinn-studio copied to clipboard
Documentation: How could an app owner set form data that is read-only
Description
A use case for NSM is that an application could be instantiated with fields that should be read-only. How can we ensure that these fields are indeed read-only? Do we have any similar use cases in Altinn 2?
Relevant discussion on this topic: https://altinnstudio.slack.com/archives/C01AD7D4JAY/p1608209676122000
For now we should only document how this could be implemented by an app developer.
In scope
- Find a viable solution for setting data that is unchangeable as part of the instantiation of an app
Constraints
Constraints or requirements (technical or functional) that affects this analysis.
Lorem ipsum
Analysis
Lorem ipsum
Conclusion
Short summary of the proposed solution.
Tasks
- [ ] Is this issue labeled with a correct area label?
- [ ] QA has been done
A general technical fix would be bloating the APIs. We will rather document how an app dev can implement the relevant validations.