altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Documentation: How could an app owner set form data that is read-only

Open lorang92 opened this issue 4 years ago • 1 comments

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

lorang92 avatar Sep 11 '20 10:09 lorang92

A general technical fix would be bloating the APIs. We will rather document how an app dev can implement the relevant validations.

lvbachmann avatar Jan 14 '21 10:01 lvbachmann