Edit roles by capability

A Moodle admin tool to edit the permissions for one capability in all roles on one screen.
Price option: Free

Supports Moodle 2.2-5.0 See all versions
Latest release: 10 months ago
Installations: 734
Downloads (last 90 days): 241

Frankenstyle name: tool_editrolesbycap
Administration tools

Comments

Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.

@Séverin, I agree with you, but that is nothing to do with this plugin. The logging of changing the role definition is done my Moodle core (where the assign_capability function in accesslib.php fires \core\event\capability_assigned). So, changing this would require a Tracker issue.
I've just installed and used it with Moodle 4.3 (on servers using PHP 8.0 or 8.2), with no problem.
Just a little detail when looking at logs generated :
The user id id '3' has unassigned the 'mod/lti:requesttooladd' capability for role '3'
should better be :
The user with id '3' has unassigned the 'mod/lti:requesttooladd' capability for role '3'
Tested and confirmed: the latest version of this plugin works with Moodle 3.9.
This plugin works in Moodle 3.0.
Note that the automated Behat test fails, which I think is just because of some change in the Behat testing system. That needs to be fixed at some point, but not now.
hey tim fro moodle 2.3 it gives erroe like this!!,
.Plugin "block/block_graph_stats_moodle23_2012062500" is defective or outdated, can not continue, sorry.
More information about this error
Debug info: Missing version.php file.
Error code: detectedbrokenplugin
Stack trace:
◦line 699 of \lib\upgradelib.php: plugin_defective_exception thrown
◦line 360 of \lib\upgradelib.php: call to upgrade_plugins_blocks()
◦line 1524 of \lib\upgradelib.php: call to upgrade_plugins()
◦line 329 of \admin\index.php: call to upgrade_noncore()
Very useful. Thanks smile
BTW, I made a useful SQL query that compare Role capabilities
(If you are using block/configurable_reports or ad-hoc system reports)
http://docs.moodle.org/26/en/ad-hoc_contributed_reports#Compare_role_capability_and_permissions
Thank you Tim!
Actually, I just tested this myself quickly, and as far as I can see, this works find in Moodle 2.5, so I updated the listing to say that.
I bet the Moodle 2.4 version of the plugin works in Moodle 2.5, but I have not tested it yet. I suggest you try it.
Hi Tim
Is there a plan to make this plug-in available for Moodle 2.5