Old modules and plugins

Note: This database has been replaced by the Moodle Plugins Directory.

Admin Report: User's roles report

Type: Admin Report
Requires: Moodle 1.9 or later
Status: Contributed
Maintainer(s): Tim Hunt

This Moodle admin report lists all the role assignments that a user has throughout a site. It also lets you easily remove any of those role assignments.

To make this report work, you need to make one very small change to one core file. In lib/weblib.php, in the function print_header, just after the line:

 $meta .= "\n".require_js();

add the lines

 $fnname = 'require_css';
 if (function_exists($fnname)) {
 $meta .= "\n".$fnname();
 } 

Apart from that, just unzip the download, and copy the userroles folder into admin/report.

Copyright 2007-9 Tim Hunt, The Open University, and other contributors.

Licence: http://www.gnu.org/copyleft/gpl.html GNU Public License



Record added by Tim Hunt - Wednesday, 17 October 2007, 10:17 PM
Last modified - Wednesday, 28 January 2009, 3:17 PM