Skip to content

Terms and conditions

Alvaro Villanueva edited this page Nov 14, 2022 · 12 revisions

Getting Started

One of the attributes of the user is the Terms and Conditions Document which value is stored as a list of T&C documents. This page will allow the users to represent which Terms and conditions are accepted by them in order to access specific resources.

Modifying T&C

The page will show an empty list by default that can be incremented by filling the values on the input text. The main list will consist on objects with the content: T&C name, T&C description and a checkbox that will represent the users accepted terms by querying the Users data. This list reads the information from the /terms/ endpoint of the PDP, retrieving the entire list of Terms and Conditions stored.

The terms on the left of the table represents the name of the document, while the values on the right are the Terms and Conditions applied to that document

Once the changes are made the list will update when clicking the apply button. The attribute will be stroed within the user data in the login service, this can be checked by logging into gluu and navigating to the user data. The values updated from the Terms and Conditions editor should be updated in Gluu's interface.

⏭️ Next step: Resource Control Monitoring