Rolling Release Updates: Difference between revisions
("Manually assigned managers in user upload" start) |
No edit summary |
||
Line 6: | Line 6: | ||
==== Creating manually assigned managers ==== | ==== Creating manually assigned managers ==== | ||
To add manually assigned managers, two new fields have been implemented, namely '''manager''' and '''managerpermissions''', both requiring a postfix. | To add manually assigned managers, two new fields have been implemented, namely '''manager''' and '''managerpermissions''', both requiring a postfix. | ||
'''manager''' is identified by a username and must belong to the same tenant. | |||
'''managerpermissions''' can either be specified in human-readable format or using 0-7 notation: | '''managerpermissions''' can either be specified in human-readable format or using 0-7 notation: | ||
Line 16: | Line 17: | ||
* "" = 0 | * "" = 0 | ||
To specify multiple permissions, values can be combined, for example "allocate, reports" (3 in 0-7 notation) or "reports, notifications (6).<syntaxhighlight lang="php"> | To specify multiple permissions, values can be combined, for example "allocate, reports" (3 in 0-7 notation) or "reports, notifications" (6).<syntaxhighlight lang="php"> | ||
username,firstname,lastname,email,manager1,managerpermissions1 | username,firstname,lastname,email,manager1,managerpermissions1 | ||
manager,User,Manager,manager@example.com,0,0 | manager,User,Manager,manager@example.com,0,0 | ||
Line 25: | Line 26: | ||
==== Updating manually assigned managers ==== | ==== Updating manually assigned managers ==== | ||
In order to modify existing managers, the same format has to be used as for creating new ones. | |||
==== Deleting manually assigned managers ==== | ==== Deleting manually assigned managers ==== | ||
To remove a manually assigned manager, the '''managerdelete''' field has to be specified.<syntaxhighlight lang="php"> | |||
username,manager1,managerdelete1 | |||
usertwo,manager,1 | |||
</syntaxhighlight> | |||
=== Manager Audience in Custom Pages === | === Manager Audience in Custom Pages === |
Revision as of 05:53, 16 April 2024
![workplacelogo.png](/403/en/images_en/thumb/b/b6/workplacelogo.png/24px-workplacelogo.png)
This page provides documentation of all improvements in rolling releases. It is expected that these new features will be added to the next major release.
Manually assigned managers in user upload
The Moodle user upload feature has been extended to support manually assigned managers.
Creating manually assigned managers
To add manually assigned managers, two new fields have been implemented, namely manager and managerpermissions, both requiring a postfix.
manager is identified by a username and must belong to the same tenant.
managerpermissions can either be specified in human-readable format or using 0-7 notation:
- allocate = 1 (Permission to allocate managed users to programs and certifications)
- reports = 2 (Permission to view reports on managed users)
- notifications = 4 (Permission to receive notifications on managed users)
- all = 7 (default if the field managerpermissions is missing from the CSV file)
- "" = 0
To specify multiple permissions, values can be combined, for example "allocate, reports" (3 in 0-7 notation) or "reports, notifications" (6).
username,firstname,lastname,email,manager1,managerpermissions1
manager,User,Manager,manager@example.com,0,0
userone,User,One,userone@example.com,manager,all
usertwo,User,Two,usertwo@example.com,manager,allocate
Updating manually assigned managers
In order to modify existing managers, the same format has to be used as for creating new ones.
Deleting manually assigned managers
To remove a manually assigned manager, the managerdelete field has to be specified.
username,manager1,managerdelete1
usertwo,manager,1
Manager Audience in Custom Pages
The Managers audience in custom pages has been extended to support manually assigned managers. The Manager type options available now are Manager, Manager (assigned manually), and Department Lead.
Manager Audience in Custom Reports
The Managers audience in custom reports has been extended to support manually assigned managers. The Manager type options available now are Manager, Manager (assigned manually), and Department Lead.