Cohort auto roles management

Administration tool ::: tool_cohortautoroles
Maintained by Dan Marsden, Catalyst IT
This plugin is based on the core tool_cohortroles plugin and allows the selection of a role rather than an individual to assign a manager/mentor/parent to a user. If a user is assigned the selected role at any level - (site/course/category etc) they will be assigned as the mentor/manager/parent to all users within the cohorts selected they are also a member of.

Cohort auto roles management 1

Moodle 3.1
Released: Wednesday, 12 October 2016, 6:28 AM

moodle-tool_cohortautoroles.svg?branch=master

Assign auto roles to cohort

This plugin is based on the core tool_cohortroles plugin and allows the selection of a role rather than an individual to assign a manager/mentor/parent to a user.

If a user is assigned the selected role at any level - (site/course/category etc) they will be assigned as the mentor/manager/parent to all users within the cohorts selected they are also a member of.

Example:

  • Cohort "Engineering" has the users, "John, Mary, Steven, George"
  • Cohort "6th Floor" has the users "John, David, Simon"
  • John is enrolled in course 1 with the custom role "Support"
  • David is assigned the custom role "support" at the site-level.
  • A Parent/Mentor/manager role has been created in the system to allow user-level role assignments - see: https://docs.moodle.org/en/Parent_role
  • The cohortautoroles plugin is configured to find all users in the "support" role, assign them to the parent/manger/mentor role.

John will be automatically assigned as the mentor to "Mary, Steven, George, David, Simon" David will be automatically assigned as the mentor to "John, Simon"

Installation

  1. Install the plugin the same as any standard moodle plugin either via the Moodle plugin directory, or you can use git to clone it into your source:

    `git clone git@github.com:catalyst/moodle-tool_cohortautoroles.git admin/tool/cohortautoroles

    Or install via the Moodle plugin directory:

    https://moodle.org/plugins/tool_cohortautoroles

  2. Then run the Moodle upgrade

If you have issues please log them in github here:

https://github.com/catalyst/moodle-tool_cohortautoroles/issues

How to use

Go to Dashboard ► Site administration ► Users ► Permissions ► Assign auto roles to cohort

Feedback and issues

Please raise any issues in github: https://github.com/catalyst/moodle-tool_cohortautoroles/issues

Pull requests are welcome smile

If you would like to sponsor work on this plugin please contact Catalyst IT: https://www.catalyst.net.nz

Version information

Version build number
2016101100
Version release name
1
Maturity
Stable version
MD5 Sum
45b6ef7747a96a3769344c0e372364d1
Supported software
PHP 5.6, PHP 7.0, Moodle 3.1
  • Latest release for Moodle 3.1

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Administration tool

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation