Skip to main content

Policies

Policies are rules or terms of use that users must accept before they can use certain features in OpenVLE.
This can include, for example, privacy policies, IT usage guidelines, or liability disclaimers.
Active policies are displayed at login.


Where can I find this section?

Navigation:
Via main menu: Access Control -> Policies

Features at a Glance

  • View and manage existing policies
  • Create new policies with title, description, and content
  • Specify whether a policy is active or inactive
  • See which users have already agreed to a policy
  • Delete or deactivate policies that are no longer needed

Key Fields at a Glance

Field nameDescription
ContentFull text of the policy that is shown to users when accepting. Supports **Markdown** formatting (e.g., headings, lists, links, emphasis).
DescriptionBrief description of the policy, e.g., "Privacy policy for students" or "General terms of use for administrators".
NameName of the policy. Displayed in lists, dialogs, and when users give their consent.
StatusCurrent status of the policy, either "Inactive" or "Active".

Creating a Policy

  1. Open the Access Control -> Policies section in the main menu.
  2. Click Add to create a new policy.
  3. Enter the name, description, and text content of the policy.
    The text content supports Markdown formatting, so you can use headings, lists, links, or emphasis.
  4. Save the policy.

Activating or Deactivating a Policy

  1. Open the Access Control -> Policies section in the main menu.
  2. Search for the desired policy in the list and open it.
  3. In the policy's action bar, you will see either a red "Inactive" button (to activate) or a green "Active" button (to deactivate).
    Click the respective button to activate or deactivate the policy.
info

Policies can be activated and deactivated any number of times.

info

After activation, the policy will only be displayed at the next login of users.
Users who are already logged in will remain signed in until the end of their current session.
To log out all users at once, see Administration -> Operations and Management -> FAQ.


Editing a Policy

  1. Open the Access Control -> Policies section in the main menu.
  2. Search for the desired policy in the list.
  3. Click Edit, or open the policy's context menu and select Edit.
  4. The form displays all current policy data.
  5. Adjust the desired fields — for example, Name, Description, or Text content.
  6. Save the changes.
note

A policy can only be edited if it is inactive and no users have already agreed to it.
Active policies or policies with existing consents can no longer be modified.

If, for example, your privacy policy has changed, create a new policy (e.g., "Privacy Policy v2"),
deactivate the old policy, and then activate the new version.


Deleting a Policy

  1. Open the Access Control -> Policies section in the main menu.
  2. Search for the desired policy in the list.
  3. Click Delete, or open the policy's context menu and select Delete.
  4. Confirm the deletion in the displayed dialog.
  5. The policy will then be permanently removed.
warning

Only inactive policies can be deleted.


Example or Use Case

Example: Create a privacy policy for all users

An administrator wants to ensure that all users have read and accepted the privacy terms. They create a new policy in the Policies section with the title "Privacy Policy". The policy is marked as active, so all users will be prompted for confirmation at their next login.


Notes / Special Considerations

  • Users can only read and accept active policies, not edit them.
  • Policies are marked as accepted per user in the policy detail view.
  • Active policies are enforced exclusively within OpenVLE — not within Apache Guacamole.
  • A policy can be deactivated without deleting it.
  • Changes to already active policies are no longer possible.
  • In the Users tab, administrators can check who has already accepted a policy.

Relationships to Other Objects

Many objects in OpenVLE are related to other elements within the system. The following overview shows which relationships exist and whether they trigger certain automations.

ObjectDescriptionAutomatic behavior
ChangelogsAll changes to the object are automatically logged.Automatic removal when the object is deleted.
PermissionsObject-specific permissions can be assigned directly to the object.Automatic removal when the object is deleted.
TagsObjects can be tagged with any number of tags to categorize or filter them.Automatic removal when the object is deleted.
UsersAny number of users can agree to a policy.No automations.

Required Permissions

The permissions required for actions can be assigned via roles or individually. If you lack certain rights, the corresponding functions in the user interface are hidden or disabled.

ActionRequired permissionPathAdditional information
View policiespolicies_read/ or /<objectID>
Create policiespolicies_create/
Edit policiespolicies_update/ or /<objectID>
Delete policiespolicies_delete/ or /<objectID>
View user consentspolicies_users_read/
info
The permissions *_read, *_update, and *_delete can be set to a specific path, i.e., to the UUID of an object.
Example: /4a3bc312-d1af-4b3f-b222-f5e9cecbf007 This gives the user access to this single object only.
If the path / is used, the permission applies globally to all objects of this type.
For *_create permissions, only the global path / is allowed.