Skip to content
Didactika Docsby Didactika
EN

Language English

Session permissions

Allow, prevent or prohibit capabilities in the sessions opened through a delegation.

Moodle 4.5 – 5.2New in Moodle 4.5 – 5.2

This guide shows how to set them. What each permission means is in the concept.

Open the delegation and select its Session permissions tab. Find capabilities by name, technical name or component, narrow them with the chips (overridden, each permission, with risks) and save the changes from the bar at the foot of the window.

/local/delegateaccount/pages/delegation.php
The Session permissions tab of a delegation, with the four permissions explained and the list of capabilities
Each capability has Not set, Allow, Prevent and Prohibit. The site setting shows next to it.

Copy from another delegation loads the overrides of another delegation to review before saving.

The Session permissions tab of the settings works the same way and sets what applies to every delegation. A delegation set to Not set follows it.

/admin/settings.php?section=local_delegateaccount_settings
The Session permissions tab of the plugin settings
The same list, for the whole site.

Select them in a list and choose Session permissions in the bar: pick the capabilities and the permission each gets (or Remove the override), or copy the overrides of one delegation, adding them to the ones there or replacing them. The selection can be every delegation that matches the list, and the change is written in batches, so it scales to any number of delegations.