Cohort role synchronization

Maintained by Paul Holden
Automatically synchronize cohort members into system roles.
Price option: Free

Supports Moodle 4.1-5.1 See all versions
Latest release: 9 months ago
Installations: 1541
Downloads (last 90 days): 474

Frankenstyle name: local_cohortrole
Local plugins

Description

Moodle Cohorts are a great tool for creating site-wide groups of users, and using these groups to enrol users en-masse into courses. This plugin extends the functionality of cohorts by allowing them to be automatically assigned to system-level roles.

This is especially useful for local customizations, i.e. you want your Staff Users cohort to be enrolled into all staff related courses, but also assign them to a system role that grants them extra permissions across the site. By listening for relevant events, any amendments made to configured cohorts will automatically be reflected in the appropriate roles.

After installing the plugin, linking a cohort to a role is as simple as selecting each from a dropdown menu and pressing Save changes:

Create Synchronization

See the project readme file for the most up to date instructions.

Supports Moodle version 4.1 onwards (up to and including 5.1).

Build status

The latest plugin release is 5.1 (10 October 2025):

  • Support for Moodle 5.1

Contributors

Awards

Reviewers' choice
Privacy friendly
Early bird 3.6
Automated testing support
Early bird 3.8
Early bird 3.9
Early bird 3.10
Early bird 4.1
Early bird 4.2
Early bird 4.3
Early bird 4.4
Early bird 4.5
Early bird 5.0
Early bird 5.1