Skip to content
Didactika Docsby Didactika
EN

Language English

Give people permission

Create the role that lets people use delegations, and assign it.

Moodle 4.5 – 5.2New in Moodle 4.5 – 5.2

The plugin adds a capability, local/delegateaccount:use (Log in as a delegated account). Nobody has it by default, so you give it through a role of your own.

  1. Go to Site administration > Users > Permissions > Define roles and add a new role, for example Delegated account user.
  2. Select System as the only context type and allow local/delegateaccount:use.
  3. Go to Site administration > Users > Permissions > Assign system roles, open the role and give it to the people who should be able to use delegations.
/admin/roles/assign.php
The Assign system roles page with three users in the role Delegated account user
The role assigned to three people. They are now the authorised users the plugin lists.

Until a role grants the capability, the management page reminds you of these two steps with links to the two pages.

The people who hold the role are the authorised users: the ones you can create delegations for. Create your first delegation.