Commit Graph

20 Commits

Author SHA1 Message Date
tjhunt 92f008465c admin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on and off.
That was becuase not enough information was being passed in for the blocks editing controls to construct the right URL to reload the page.

It is also now possible for admin external pages to add some UI next to the turn blocks editing on/off button. For example, when you are editing the list of course catgories, the turn editing off button is now in the right place.
2008-12-11 09:21:41 +00:00
tjhunt 587a1ea358 manage roles: MDL-8313 face lift allow override/assign, add labels and tooltips to the checkboxes for usability and accessibility. 2008-11-18 10:33:38 +00:00
tjhunt ad5616a934 manage roles: MDL-8313 face lift allow override/assign, and add securtiy checks! 2008-11-18 10:18:00 +00:00
tjhunt 1e8e46879c roles interface: Code reorganisation and adding boilerplate comments.
I have collected code that used to be in lib/adminlib.php, lib/accesslib.php and user/selector/lib.php into a new admin/roles/lib.php file.

And I added standard GPL and Moodle comments to all the files in admin/roles.
2008-11-13 04:07:01 +00:00
skodak 9bec527490 MDL-14679 towards /admin/roles conversion 2008-05-31 10:30:30 +00:00
dongsheng 957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
martinlanghoff b3dc845cab admin/roles: sitewide role changes mark site context as dirty
And will force a reload of $USER->access for all logged-in users
on their next request.

We will have to tell admins of large sites to avoid making role changes
at busy times, as it does generate extra load.
2007-09-19 07:10:37 +00:00
skodak 1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
nicolasconnault 77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
skodak efe12f6c22 MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes 2007-03-05 11:27:01 +00:00
skodak ece4945bd2 role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort 2006-09-23 12:51:00 +00:00
skodak adbffcb9fe role ui minor cleanup 2006-09-22 21:17:43 +00:00
skodak f59208a745 fixed typos in capabiltiy names 2006-09-21 16:27:37 +00:00
skodak fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
tjhunt f866df1c4f allowassign.php was submitting to allowoverride.php 2006-09-19 21:53:37 +00:00
skodak 681729b16e various minor Role UI fixes 2006-09-19 17:34:29 +00:00
moodler 9584965f9c Tidied up the role assignment pages 2006-09-14 14:49:45 +00:00
toyomoyo 945f88ca15 various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib 2006-08-23 06:36:08 +00:00
toyomoyo 68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00