Open vaszig opened 1 month ago
This can be done after #4620 has been merged (This PR adds the prefill_options field to the model).
prefill_options
The attribute should be part of the prefill_options JSON field and the general/ideal structure should be:
attribute
prefill_plugin
prefill_identifier_role
Might be backwards incompatible with custom plugins (read: NHR, DH) and streamlines plugin architecture.
This is a prelude to moving the prefill config from the component to the variables tab.
This can be done after #4620 has been merged (This PR adds the
prefill_options
field to the model).The
attribute
should be part of theprefill_options
JSON field and the general/ideal structure should be:prefill_plugin
-> determines the shape of prefill_optionsprefill_options
-> stores plugin-specific configuration options (will contain the attribute key for all the other plugins)prefill_identifier_role
-> still used to point to which BSN/KVK to grab from the Submission for auth checks etc.