Commit graph

107 commits

Author SHA1 Message Date
dongsheng
6848005374 MDL-14129, creating error string 2008-04-10 06:19:07 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
714d08d1d7 Merged MDL-13475 from 1.9: treat shortname fields as 100 chars 2008-03-02 15:03:33 +00:00
mjollnir_
d4564cf018 merged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switch_roles and role_cap_duplicate) to accesslib & added phpdoc. Fixes MDL-12621 2007-12-18 20:51:07 +00:00
toyomoyo
cb8cb8bf88 MDL-11241, adding logs for roles management 2007-10-18 05:53:14 +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
skodak
9d200a16d7 MDL-8522 better label for role reset button and confirmation text; merged from MOODLE_18_STABLE 2007-03-14 22:07:59 +00:00
skodak
d67de0ca05 MDL-7633 legacy capabilities now have special menu 2007-03-06 22:01:22 +00:00
skodak
b357ed13f3 MDL-8522 fixed role reset warnings + only one legacy cap type allowed now in each role 2007-03-06 19:19:19 +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
a83addc5e5 MDL-8522 Add role reset button into role definition form; fixed single button css 2007-03-03 22:30:35 +00:00
skodak
3562486b7d MDL-8523 Show default capabilities in role definition; added CSS popup_form spacing 2007-03-03 21:07:07 +00:00
moodler
08c7d26024 Merged fixes from 1.8 stable for role menu fixes MDL-8558 2007-02-18 13:01:15 +00:00
toyomoyo
e381a324a8 merged adding missing capability check 2007-02-16 02:40:54 +00:00
skodak
f4d6704d9a MDL-8380 prevent deleting of roles that are used as default site roles for guest, user, notloggedin, etc... 2007-02-01 23:15:07 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
3307d3f65f minor xhtml fix 2006-11-30 08:55:49 +00:00
skodak
022f9b28ff bellow spelling fixed 2006-11-20 17:39:35 +00:00
toyomoyo
d471721cd7 adding new role duplicate funcitionality MDL-7392 2006-11-09 09:29:19 +00:00
moodler
8c900bc3b0 Merged documentation for Roles from stable MDL-6923 2006-10-31 08:14:36 +00:00
moodler
4505a8b762 Merged new help links from stable 2006-10-29 08:14:30 +00:00
skodak
b27b0d5a03 MDL-6985 Role Short name cannot be modified; merged from MOODLE_17_STABLE 2006-10-16 08:34:44 +00:00
toyomoyo
55656968b3 do not write inherit into db! 2006-10-10 09:22:38 +00:00
moodler
4fef9b76d1 Fixed links to Risks documentation 2006-10-01 09:59:03 +00:00
moodler
9e38e94047 More tidy-ups 2006-09-24 14:35:45 +00:00
skodak
38d2d43b01 roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages 2006-09-24 11:55:11 +00:00
moodler
be91f51dab Make sure buttons don't wrap 2006-09-24 06:54:52 +00:00
moodler
350b5fb6c8 Strip all tags from role names before use 2006-09-23 12:57:48 +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
8420bee94e towards unique role sortorder - fixes for create_role() and new delete_role() 2006-09-23 10:43:24 +00:00
skodak
305ef971fc role assign and override code fixes + other minor changes 2006-09-22 20:09:47 +00:00
skodak
0c88b9acf7 improved coding style 2006-09-21 23:15:45 +00:00
skodak
f3245d0952 improved coding style 2006-09-21 23:08:58 +00:00
skodak
fa1fbbdc40 minor allignment change in role list 2006-09-21 23:00:48 +00:00
skodak
b5959f3071 partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-) 2006-09-21 22:34:45 +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
skodak
681729b16e various minor Role UI fixes 2006-09-19 17:34:29 +00:00
skodak
31f267963a MDL-6568 shortname added to roles 2006-09-18 17:40:22 +00:00
moodler
5fe3980628 Fixed hard-codes string 2006-09-16 14:26:13 +00:00
moodler
38a5e3d34a Just some cleanups and removed notices 2006-09-16 14:22:59 +00:00
moodler
7513cd6936 Tidying 2006-09-14 15:20:44 +00:00
moodler
9584965f9c Tidied up the role assignment pages 2006-09-14 14:49:45 +00:00
skodak
bc202f4390 fixed harcoded string "Select a Role" 2006-09-12 20:54:21 +00:00
skodak
f21def1f11 fixed collisions in merges, sorry 2006-09-03 15:21:46 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
toyomoyo
41d7209c7f some (mainly admin realated) capabilities 2006-08-25 08:27:27 +00:00
toyomoyo
ae1e00a089 renamed variable so that it doens't get recycled 2006-08-23 08:11:43 +00:00