Edit roles by capability

Administration tool ::: tool_editrolesbycap
Maintained by TimTim Hunt
A Moodle admin tool to edit the permissions for one capability in all roles on one screen.
Latest release:
516 sites
41 fans
Current versions available: 6

Install this plugin into the admin/tool folder, in a subfolder called editrolesbycap.

You will get a new entry under Site administration -> Users -> Permissions that lets you select a capability, and then edit the permission for that capability in all role definition.


Screenshot #0


Tim Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Matthew Koelling
    Fri, Aug 2, 2013, 4:03 AM
    Hi Tim

    Is there a plan to make this plug-in available for Moodle 2.5
  • Tim
    Fri, Aug 2, 2013, 4:24 AM
    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.
  • Tim
    Fri, Aug 2, 2013, 5:14 AM
    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.
  • Matthew Koelling
    Mon, Aug 5, 2013, 11:22 PM
    Thank you Tim!
  • Nadav Kavalerchik
    Sun, Jan 12, 2014, 2:11 AM
    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)
  • Chirag Patel
    Tue, Feb 25, 2014, 12:37 PM
    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()
  • Tim
    Wed, Dec 16, 2015, 1:38 AM
    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.
  • Tim
    Wed, Jun 10, 2020, 6:41 AM
    Tested and confirmed: the latest version of this plugin works with Moodle 3.9.
Please login to post comments