Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.1
-
Fix Version/s: None
-
Component/s: Roles / Access
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
It would be very convenient if bulk user actions included "assign a role" as one of the "With selected users..." dropdown. The feature would still be useful even if it could only do assignments in the System context.
For use cases, see these discussions: http://moodle.org/mod/forum/discuss.php?d=100873, http://moodle.org/mod/forum/discuss.php?d=100940 and many others!!
This is one of three separate suggestions for improving our ability to make bulk role assignments. The other two are MDL-15187 and MDL-14298.
Attachments
Issue Links
| This issue will be resolved by: | ||||
| MDL-16793 | Bulk user actions improvement |
|
|
|
I've attached a .tar.gz containing some files that will allow you to assign roles to a user. Presently, role assignment is course-focussed, and you are able to assign multiple users a role in a course. The attched allows you to be user-focussed, and assign a role to a user in multiple contexts (i.e. courses).
It is not part of "bulk user actions". After installation you will find this in Admin -> Users -> Permissions -> Assign roles to user.
Extract the files into your moodle root. Two new files will be placed in /admin/. A third file will appear in your moodle root.
The third file, "users-roles.patch" is a unified diff patch. It creates a menu entry in admin/settings/users.php, and a language string for lang/en_utf8/role.php. So it's ready for internationalization, but is only localized to en_utf8 at present.
We've been using it at LSE since October 2007, and works fine.