Manage user agreements

A user agreement can be added to Ontocloak using configuration parameters on the Ontocloak container. Ontocloak must be restarted after adding, removing or modifying an agreement.

If you add a new agreement, change the name of the agreement, or change the version of the agreement, all users will be prompted to accept the agreement at their next login. By contrast, the title or text of the agreement can be changed without requiring reacceptance.

If you are using Docker Compose to configure your deployment, a new agreement can be added as follows:

ontocloak: … command: – -Dontocloak.action.agreement.enduser.version=1.0 – -Dontocloak.action.agreement.enduser.title=’Acme End User Agreement v1.0′ – -Dontocloak.action.agreement.enduser.html_text=’example’ – -Dontocloak.action.agreement.customer.version=1.0 – -Dontocloak.action.agreement.customer.title=’Acme Customer Agreement v1.0′ – -Dontocloak.action.agreement.customer.html_text=’example’

Configuration for agreements appears as follows if you are using a helm chart (for a Kubernetes deployment):

ontocloak: … agreements: – name: enduser version: “1.0” title: Acme End User Agreement v1.0 html_text: example – name: customer version: “1.0” title: Acme Customer Agreement v1.0 html_text: example