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 |