95 Commits

Author SHA1 Message Date
skodak
7f492d7a92 removed JS from admin/course/override.php MDL-7492 2006-11-20 08:34:25 +00:00
skodak
89d30d0230 removed JS from admin/course/assign.php MDL-7492 2006-11-20 08:29:50 +00:00
toyomoyo
40a2a15f20 separating the site course context and the site context, could be buggy, please report bugs! 2006-11-15 08:23:27 +00:00
toyomoyo
3997cb4037 Adding hidden role assignment, currently used in course participants page and print_course function.
Please test.
2006-11-15 04:28:18 +00:00
moodler
d24c8ceae1 Prevent admins from unassigning themselves MDL-7462 2006-11-12 06:12:15 +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
d03a6500c4 MDL-7137 permission UI improvements merged into role overrides; s() used instead of htmlentities(); merged from MOODLE_17_STABLE 2006-10-25 21:20:56 +00:00
skodak
a242baa0e3 editting of permissions enabled when adding new role MDL-7137; merged from MOODLE_17_STABLE 2006-10-25 19:21:46 +00:00
moodler
82350116ba Merged roles gui changes from stable 2006-10-24 14:39:41 +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
moodler
854792457c Merged tooltips from stable 2006-10-12 04:02:22 +00:00
toyomoyo
55656968b3 do not write inherit into db! 2006-10-10 09:22:38 +00:00
moodler
e32fb9a4f7 Fixed a misplaced form tag MDL-6861 2006-10-06 05:57:07 +00:00
gustav_delius
6ac0909983 Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570. For some reason this script is not using get_users() but is instead constructing its own sql, so the change to get_users() had to be duplicated here. 2006-10-05 22:45:01 +00:00
moodler
c536c6b04c Some quick styles added to match manage.html MDL-6725 2006-10-01 10:15:50 +00:00
moodler
4fef9b76d1 Fixed links to Risks documentation 2006-10-01 09:59:03 +00:00
moodler
a971a5985a FIxes for the assign screen, to make it a lot faster and able to cope
better with very large numbers of users   MDL-6766
2006-10-01 08:08:26 +00:00
moodler
605522f315 FIxed heading on assign roles in course context 2006-09-28 07:00:28 +00:00
skodak
6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
moodler
9e38e94047 More tidy-ups 2006-09-24 14:35:45 +00:00
moodler
8173517648 Giving the capabilities a bit more room on smaller screens 2006-09-24 14:26:50 +00:00
moodler
7fe6ddbab5 Add header classes to headers 2006-09-24 14:15:57 +00:00
skodak
d4121c5605 one more sanity check for role overrides 2006-09-24 13:34:52 +00:00
moodler
b144aaa4dc Add some more checking of input and permissions 2006-09-24 13:30:43 +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
ff439b30af Added styles to the role editing/viewing list, as well as some links and tooltips 2006-09-24 09:44:51 +00:00
moodler
d13c1aed4a When not editing, then let's disable the radio buttons 2006-09-24 09:02:30 +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
adbffcb9fe role ui minor cleanup 2006-09-22 21:17:43 +00:00
skodak
305ef971fc role assign and override code fixes + other minor changes 2006-09-22 20:09:47 +00:00
moodler
aad2ba95d1 Upgrading table to rename the context->aggregatelevel field which was
really bugging me.   Code should be a little bit more readable now.

Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
toyomoyo
ef61c5f964 fixed a bug, override in user should not record userid as a capability 2006-09-22 02:17:59 +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
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
skodak
8521d83aff role_context_capabilities should handle current context too and role override simply use parent context 2006-09-20 06:24:55 +00:00
tjhunt
f866df1c4f allowassign.php was submitting to allowoverride.php 2006-09-19 21:53:37 +00:00
skodak
a14049f107 metacourse role assignment fixes 2006-09-19 20:39:55 +00:00
skodak
681729b16e various minor Role UI fixes 2006-09-19 17:34:29 +00:00
skodak
b22c03ce99 RISK_ADMIN replaced with RISK_CONFIG, part 2. 2006-09-19 10:26:35 +00:00
skodak
a6b02b652b RISK_ADMIN replaced with RISK_CONFIG 2006-09-19 07:33:22 +00:00