Moodle Plugins directory: Edit roles by capability: Versions: 2.1 for Moodle 5.0+ | Moodle.org
Edit roles by capability
Administration tools ::: tool_editrolesbycap
Maintained by
Tim Hunt,
Mahmoud Kassaei,
Hieu Vu Van
A Moodle admin tool to edit the permissions for one capability in all roles on one screen.
Edit roles by capability 2.1 for Moodle 5.0+
Moodle 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: Friday, 3 October 2025, 4:56 PM
Change log for the Edit roles by capability tool
Changes in 5.0
- Update GitHub Actions CI workflow for Moodle 5.0.
- Fixed pipeline warnings.
- Rewrote Javascript in tool_editrolesbycap to remove YUI dependencies.
- Updated templates and sessionStorage usage to Javascript. Replaced use if a random cookie for storing filterValue with window.sessionStorage. This avoids the need to document/manage an extra cookie and follows modern browser best practices.
Changes in 2.0
- Re-build the JavaScript with the latest version grunt.
Changes in 1.9
- Fixed a bug which caused not all capabilities to appear in the list.
Changes in 1.8
- Small styling improvements.
Changes in 1.7
- Fix Behat to work in Moodle 3.6.
Changes in 1.6
- Privacy API implementation.
- Fix some coding style.
- Due to privacy API support, this version now only works in Moodle 3.4+ For older Moodles, you will need to use a previous version of this plugin.
1.5 and before
Changes were not documented here.
Version information
- Version build number
- 2025100300
- Version release name
- 2.1 for Moodle 5.0+
- Maturity
- Stable version
- MD5 Sum
- bee7547d9b8ddb7cd53c7d66e9cc8ad7
- Supported software
- Moodle 4.0, Moodle 4.1, Moodle 4.2, PHP 8.2, Moodle 4.3, PHP 8.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
- Latest release for Moodle 4.0
- Latest release for Moodle 4.1
- Latest release for Moodle 4.2
- Latest release for Moodle 4.3
- Latest release for Moodle 4.4
- Latest release for Moodle 4.5
- Latest release for Moodle 5.0
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Administration tools
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "mytool") in the "admin/tool" subdirectory.
- Visit http://yoursite.com/admin to finish the installation