52 Commits

Author SHA1 Message Date
skodak
3a0c6cca33 MDL-8521 new feature - safe overrides, see tracker for details; merged from MOODLE_19_STABLE 2008-07-23 16:10:06 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak
b9a6636029 MDL-14679 towards /admin conversion 2008-05-31 10:43:51 +00:00
skodak
9bec527490 MDL-14679 towards /admin/roles conversion 2008-05-31 10:30:30 +00:00
moodler
1969b60e61 MDL-11323 Merged from Moodle 1.9 (fixes for display of aliases) 2008-04-18 06:21:00 +00:00
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
87486420a5 Merged MDL-13676: last-minute field change to fix an Oracle problem 2008-02-29 08:44:23 +00:00
tjhunt
b26adbef4c MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
scyrma
d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00
moodler
21090e447a Merged from 1.9
Improvements to the tabs for assigning and overriding roles.   MDL-12120

Tabs are now all on the top row
Tabs have clearer titles
Other help texts improved
2007-11-19 07:13:02 +00:00
toyomoyo
f2bcb0815d MDL-12218, display course specific role names on override page 2007-11-19 04:36:21 +00:00
scyrma
b087818c35 Fix for MDL-10996 : prevent course name from being displayed twice. 2007-11-15 04:04:21 +00:00
tjhunt
3a48e3da50 MDL-11917 - Improve the title on the assign/override roles page. Merged from MOODLE_19_STABLE. 2007-10-26 17:00:05 +00:00
toyomoyo
cb8cb8bf88 MDL-11241, adding logs for roles management 2007-10-18 05:53:14 +00:00
martinlanghoff
e6560e39d7 admin/roles: context-specific role changes mark the context as dirty
And will force a reload of $USER->access for logged-in users that need
to read _this_ context. Much lower impact - still not a great idea to
edit assignments/caps on very busy courses, but impact should be low.
2007-09-19 07:10:52 +00:00
moodler
d13d30ef78 The "alias" role names were not being used in the role assign screens. Now they are. MDL-11323 2007-09-18 08:35:12 +00:00
nicolasconnault
f1af7aaaf5 MDL-10870 All files updated to new build_navigation() method. 2007-08-17 07:25:47 +00:00
toyomoyo
c345bb584a MDL-10679, improvement to context_rel table and load_user_capability 2007-08-02 08:28:29 +00:00
skodak
40935142f7 MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
fixed continue button in error() on admin page when link present
2007-04-30 17:28:29 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
skodak
d67de0ca05 MDL-7633 legacy capabilities now have special menu 2007-03-06 22:01:22 +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
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak
84c8ede022 MDL-8343 reorganize frontpage settings in admintree - admin tree now allows to specify context together with required capability for each entry
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - first part of cleanup related to frontpage
2007-01-29 21:29:27 +00:00
skodak
7f492d7a92 removed JS from admin/course/override.php MDL-7492 2006-11-20 08:34:25 +00:00
moodler
8c900bc3b0 Merged documentation for Roles from stable MDL-6923 2006-10-31 08:14:36 +00:00
moodler
c536c6b04c Some quick styles added to match manage.html MDL-6725 2006-10-01 10:15:50 +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
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
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
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
skodak
681729b16e various minor Role UI fixes 2006-09-19 17:34:29 +00:00
moodler
f4af29c5a4 Fixed up some bugs and notices when assigning roles in a user context 2006-09-16 12:41:47 +00:00
moodler
4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
moodler
4934c49719 Cleaning up assign and override interfaces 2006-09-15 06:04:10 +00:00
vyshane
7654b2bb08 Added lang string 2006-08-28 07:30:07 +00:00
vyshane
e823cd13fa Cleanups 2006-08-28 06:36:36 +00:00
vyshane
620e1e5b27 Fixed notice. 2006-08-28 06:14:58 +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
vyshane
021a7467b5 Fixes:
1) has_capability call used in fullname()
2) initialised array $options
3) $context->level has been renamed to $context->aggregatelevel
2006-08-22 05:44:32 +00:00
toyomoyo
68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
toyomoyo
0a8a95c91e some more UI stuff 2006-08-15 08:29:29 +00:00
moodler
5ec8a4f009 Removed tabs 2006-08-09 13:18:33 +00:00