]> git.mjollnir.org Git - moodle.git/commit
manage roles: MDL-8313 Provide a basic mode for the manage roles page.
authortjhunt <tjhunt>
Tue, 18 Nov 2008 07:10:00 +0000 (07:10 +0000)
committertjhunt <tjhunt>
Tue, 18 Nov 2008 07:10:00 +0000 (07:10 +0000)
commitbbdb7070cafead78e824b1fdada55918760ad510
tree9324dd415f94af6bc676f051dcff27d3e4517694
parent111e78d6108035c8740d2467c502aa0d59c3d534
manage roles: MDL-8313 Provide a basic mode for the manage roles page.

* New basic define roles mode, with just an Allow checkbox for each capability.
* Button to toggle this form to/from advanced mode.
* Also, a separate mode for viewing a role definition, rather than just showing disabled checkboxes.
* Now duplicating a role just takes to you a pre-populated add role form, so you can double-check things before saving the new role.
* Deleting a role is now logged.
* Role reordering code cleaned up.
* You can now no longer delete the last role that has admin permissions.
* This includes a general refactor of manage.php, which eliminates manage.html, and splits of define.php.
admin/roles/define.php
admin/roles/lib.php
admin/roles/manage.html [deleted file]
admin/roles/manage.php
lang/en_utf8/error.php
lang/en_utf8/role.php
lib/accesslib.php
theme/standard/styles_color.css
theme/standard/styles_fonts.css
theme/standard/styles_layout.css