Commit Graph

96 Commits

Author SHA1 Message Date
moodler b6db8ab49d fix for MDL-7552, backporting hidden assignments (teacher) for 1.7 2007-03-08 05:25:42 +00:00
moodler ca3a97b8c1 adding missing capability check for manage roles page 2007-02-16 02:39:28 +00:00
toyomoyo 1f49b80193 fix for MDL-8399, can not unassign admin at course level 2007-02-09 03:08:17 +00:00
stronk7 751ad21e9c Applying new rs_xxx() functions everywhere. MDL-8134 2007-01-29 11:05:15 +00:00
toyomoyo aea1aa849b fixed a bug where admin can't unassign himself from non admin roles at site context 2006-12-04 01:53:43 +00:00
skodak c8c625a0be bellow spelling fixed; backported from HEAD 2006-11-20 17:40:45 +00:00
moodler c887b2c522 Prevent admins from unassigning themselves MDL-7462 2006-11-12 06:10:47 +00:00
moodler b18207cd3a Added help links to Roles pages MDL-6923 2006-10-31 08:09:29 +00:00
moodler ee9534257d Added some help links 2006-10-29 08:13:38 +00:00
skodak a9530ec147 MDL-7137 permission UI improvements merged into role overrides; s() used instead of htmlentities() 2006-10-25 21:17:33 +00:00
skodak fe5cf88b17 editting of permissions enabled when adding new role MDL-7137 2006-10-25 19:19:20 +00:00
moodler a804689232 QUick checkin of some roles GUI improvements from Petr which I hacked on 2006-10-24 09:39:36 +00:00
skodak 02d7853dab MDL-6985 Role Short name cannot be modified 2006-10-16 08:33:45 +00:00
moodler e1f8632d26 Added some tooltips to the role buttons to help when you down the bottom of
the list and can't see the headings.   MDL-6886
2006-10-12 03:54:48 +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