open-formulieren / open-forms

Smart and dynamic forms
https://open-forms.readthedocs.io
Other
36 stars 26 forks source link

API for retrieving the forms that the user has yet to complete #2775

Open alextreme opened 1 year ago

alextreme commented 1 year ago

Thema / Theme

API

Omschrijving / Description

Dimpact / @robwagelaar has requested a functionality to show in OIP which not-yet-completed forms a user can continue with, as an expansion of the MijnAanvragen/MijnZaken module.

In cooperation with Joeri I wrote up the following API spec, this to allow external systems to make use of the OpenFormulieren or eSuite API to determine which forms a (with DigiD logged-in) user can continue with:

https://redocly.github.io/redoc/?url=https://gist.githubusercontent.com/alextreme/61dbd2605ea7f714744d6a36f786dd8e/raw/209538fb28617c0ae3d9ab2a9046d9876260e0e1/FormulierenAPI&nocors

https://taiga.maykinmedia.nl/project/open-inwoner/us/975?milestone=445

Atos has developed a proof-of-concept API and an initial integration is being worked on in OIP. I'd like to request the same API to become available from Open Formulieren.

Added value / Toegevoegde waarde

Het tonen van de openstaande formulieren waar de inwoner met Open Formulieren is gestart in de Mijn-omgeving

Aanvullende opmerkingen / Additional context

Eerste OF PoC mag ontwikkeld worden door @Bartvaderkin , na Joeri's vakantie kunnen we de integratie verder bespreken.

sergei-maertens commented 1 year ago

See also #2301 and #2785

sergei-maertens commented 1 year ago

Adding prio medium since we need to properly design the encryption/hashing of PII so they can still be queried.

sergei-maertens commented 1 year ago

Current thoughts is to toggle between two modes: encrypted data (for things that are non-finalized) and hashing (for finalized) submissions.

Constraints for encryption

Resources:

sergei-maertens commented 1 year ago

This is blocked by #2301 - but there is no planning or prio for this at the moment.