Agreements in registration and enquiry forms
A new tab to configure "Policy agreements" should be added. The existing Agreements should be renamed to "Form opt-ins".
Configuration should use the generic agreement items definitions UI https://balsamiq.cloud/sjvkm7s/pl9yeyv/rB45B
Each of the items should be an positional element if manual layout is used. In default layout all should be at the bottom.
Regular presentation should be used as in case of IdP agreement screen (without extra title and info naturally).
Form validation should verify if all mandatory documents, which are configured for the form, are accepted.
In case of registration form all configured items should be always presented.
In case of enquiry form, use the same logic for selecting items to be presented as in case of IdP (see )
After accepting of an registration request appropriate attribute values should be created to record all user selections. Note that status of acceptance of all policy documents from the form must be stored, including not accepted optional ones.