Rolling Release Updates: Difference between revisions

From MoodleDocs
(Manager audience in custom pages and custom reports)
("Manually assigned managers in user upload" start)
Line 1: Line 1:
{{Workplace}}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.
{{Workplace}}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.
The '''manager''' is identified by 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).<syntaxhighlight lang="php">
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
</syntaxhighlight>
==== Updating manually assigned managers ====
==== Deleting manually assigned managers ====


=== Manager Audience in Custom Pages ===
=== Manager Audience in Custom Pages ===

Revision as of 05:47, 16 April 2024

workplacelogo.png This feature is part of Moodle Workplace™, which is available through Moodle Certified Partners and Service Providers only.

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. The manager is identified by 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

Deleting manually assigned managers

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.