Select Moodle version:

Admin tools: Edit roles by capability

tool_editrolesbycap
A Moodle admin tool to edit the permissions for one capability in all roles on one screen.
Maintained by: Tim at Lone Pine Koala Sanctuary Tim Hunt
for Moodle
2.2, 2.3, 2.4, 2.5, 2.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.

Screenshots

screenshot

Contributors

Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of 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 at Lone Pine Koala Sanctuary
    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 at Lone Pine Koala Sanctuary
    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.
  • Picture of Matthew Koelling
    Mon, Aug 5, 2013, 11:22 PM
    Thank you Tim!
  • Picture of 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)
    http://docs.moodle.org/26/en/ad-hoc_contributed_reports#Compare_role_capability_and_permissions
  • Picture of 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()
Please login to post comments