> Source: https://docs.cyberelements.io/bastion/4.7/ga/Usage/Administration/AdminConsole/ConfigurationWorkPanel/TermsOfUse/

# Terms of use

**Terms of use** are a PDF document that the platform makes groups of users accept before opening their applications. They allow an IT charter, usage conditions or internal rules to be signed, and a record of it to be kept.

![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_AdminConsole_Config_TermsOfUse_Module.png)

## Required elements

1. the **PDF document**: it is mandatory at creation;
2. at least one **user group**, chosen domain by domain: terms of use with no group cannot be saved;
3. the checkbox that **enables validation**: it determines whether the document is actually presented.

> **Enabling the terms of use**
>
> Terms of use are inactive by default: the validation checkbox is **not ticked** at creation. Terms of use saved without ticking it exist, appear in the list, name their groups, and are **never presented to anyone**. That is the first thing to check when a document does not show.

> **Everybody entry**
>
> The *Everybody* entry is chosen per domain, not globally: that of a domain targets all its groups, present and future. As soon as it is selected for a domain, that domain's group list is greyed out: the two do not combine.

## Presentation of the document

The document is shown at **user portal authentication**, after the [access conditions](https://docs.cyberelements.io/bastion/4.7/ga/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessConditions/AccessConditions/) have been evaluated and before the applications open.

> **Bastion Desktop client**
>
> The Bastion Desktop client never asks for terms of use. A user launching applications from the desktop client is not subject to validation: it only concerns browser access. Terms of use meant to be enforceable on everyone therefore require taking into account the workstations that do not use the web portal.

> **Opening the document**
>
> The user must open the document before being able to accept. The acceptance checkbox stays inactive until **every** proposed document has been opened, and the continue button stays inactive until the box is ticked. This behaviour is intended.

On refusal, everything is closed: the user returns to the login screen, their session is destroyed and they reach no application. There is no degraded access.

> **SAML domain**
>
> On a [SAML domain](https://docs.cyberelements.io/bastion/4.7/ga/Usage/Administration/AdminConsole/MainWorkPanel/AuthenticationDomains/SAMLDirectory/), groups are not matched on the group's name but on the identifier sent by the identity provider. A correctly named group whose identifier differs will trigger no document, with no message.

## Re-acceptance of terms of use

> **Resetting acceptances**
>
> Only replacing the PDF resets the acceptances. Changing the name, the description, the groups or the enabled state **asks nothing new** of users who have already accepted. There is no notion of version: uploading a new file is the **only** action that clears the acceptances and forces a fresh validation for everyone.

Correcting a typo in the document therefore means uploading it again, and making everyone accept again; there is no silent correction.

## Acceptance record

The platform remembers who accepted which document. Users can re-read the documents they have accepted from the download window of their portal.

> **Viewing acceptances**
>
> No console screen shows the acceptances, and no date is kept. There is no "who accepted what" list, no export, no timestamp. The record exists so as not to ask for validation again, not to produce evidence. An audit requirement on this point is not covered by this module.

> **Deleting terms of use**
>
> Deleting terms of use destroys their acceptances. Deletion is blocked by nothing (neither by the number of users concerned, nor by the validations already recorded) and it erases the record along with the document. Recreating the same terms of use afterwards makes everyone accept them again.

## PDF document

Only **PDF** is accepted, and the check does not stop at the extension: the real content of the file is verified. Accents in its name are stripped on upload.

> **Document access**
>
> The document is served without authentication. The PDF is stored on the server at an address reachable without being logged in: that is what allows it to be opened from the validation window, before the session even exists. Terms of use are therefore **not a confidential document**: their content is readable by anyone who knows the address.

> **Distribution in Cluster**
>
> In Cluster, a node offline at save time does not receive the file. The document is copied to the Mediation Controllers reachable at the moment the terms of use are saved. A node restarted later does not update itself, and the users it serves will not be able to open the document, hence not to accept it.

## Limits

- One set of terms of use = one document. There is **no language dimension**: serving two languages means two separate entries, or a bilingual PDF.
- No notion of version, no effective date, no expiry.
- No presentation of the acceptances in the console, and no timestamp kept.
- Validation only concerns the web portal, never the desktop client.
- The name is unique, case-insensitively.
- Deletion is unconditional and takes the acceptances with it.

---

Field-by-field details are in the [module reference](https://docs.cyberelements.io/bastion/4.7/ga/Usage/Reference/AdminConsole/TermsOfUse/).
