skodak
afe413989b
MDL-9216 has capabilitiy does not respect doanything if admin userid specified and $USER is not admin; merged from MOODLE_18_STABLE
2007-04-09 11:11:31 +00:00
nfreear
008b2b07ab
Fixes bug MDL-9175 "Groups simpletest, fatal errors", also DONOTCOMMIT.
2007-04-03 10:16:51 +00:00
toyomoyo
863fb22dd7
merged fix for MDL-9057, invalid contexts should be ignored
2007-03-27 03:04:15 +00:00
toyomoyo
9251b26fe8
merged fix for MDL-9016, clear context cache after remove_course_contents()
2007-03-23 07:21:27 +00:00
skodak
6bc1e5d577
(MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs
2007-03-22 12:27:52 +00:00
toyomoyo
0150c561c5
fix for MDL-8966, customizable role names
2007-03-22 08:11:30 +00:00
toyomoyo
a7bb9b8ff2
merged fix for MDL-8981, roles assigned at site level may result in a lot of default subscriptions
2007-03-21 06:07:46 +00:00
skodak
3887fe4acd
MDL-8840 Loginas cleanup, some more improvements; merged from MOODLE_18_STABLE
...
+ merging of format_string fixes
2007-03-20 07:42:41 +00:00
toyomoyo
c0aa9f0956
merged fixing a warning
2007-03-20 02:57:57 +00:00
skodak
c16ec80252
MDL-8840 Loginas cleanup, better course isolation; merged from MOODLE_18_STABLE
2007-03-19 22:25:13 +00:00
skodak
f6f66b0338
MDL-8840 Loginas cleanup; merged from MOODLE_18_STABLE
...
+ merging perflib toys from moodlelib.php
2007-03-19 18:54:58 +00:00
toyomoyo
8cf990bcfe
merged fix for MDL-8934, assign role context statements incorrect
2007-03-19 04:49:49 +00:00
skodak
de5e137a2e
MDL-8841 Switch role cleanup; merged from MOODLE_18_STABLE
2007-03-16 20:21:27 +00:00
skodak
5e992f564b
MDL-8867 Add setting to define role that is assigned to creators in new courses
...
MDL-8868 Set only minimal permissions for creator role
+ improved accesslib to handle changes of context levels in capability definitions
merged from MOODLE_18_STABLE
2007-03-14 21:42:38 +00:00
moodler
eef879ecdb
Merged patches from MDL-8385 from 1.8 stable
2007-03-07 13:45:41 +00:00
skodak
66a27728a9
fixed unassigning to use standard function in get_legacy_type()
2007-03-07 09:38:21 +00:00
moodler
0616d3e82f
Merged fixes for MDL-8785 from 1.8 to head
2007-03-07 04:56:07 +00:00
toyomoyo
3fe54e5195
merged, fixing hidden teacher upgrade
2007-03-07 01:35:47 +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
nicolasconnault
6d2d91d6b7
MDL-8771 - Restricted has_capability() sanity checks to DEVELOPER debug mode
2007-03-06 05:36: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
moodler
dfd1ff7abe
Merged undo for MDL-8385 from 18 stable
2007-03-04 05:46:14 +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
toyomoyo
3c6ffc31f3
adding a progress bar
2007-03-02 08:09:21 +00:00
tjhunt
8388ade865
Make error messages non-ambiguous. Merged from MOODLE_18_STABLE.
2007-03-01 16:42:36 +00:00
moodler
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00
toyomoyo
118c0f6d5c
merged, taking care of context_rel cache when moving courses across categories
2007-02-26 02:35:00 +00:00
skodak
6db71242fd
MDL-8268 fixed block get_string, patch by Mark Nielsen
2007-02-14 23:00:20 +00:00
skodak
e2b84345ea
MDL-8268 cleanup in get_user_capability_course()
2007-02-14 22:53:17 +00:00
skodak
4fd3348637
MDL-8268 fixed get_user_capability_course(), patch by Mark Nielsen
2007-02-14 22:48:11 +00:00
skodak
2b91b669de
MDL-7903 Guests can not enter course that allows guests with key reopened:
...
* fixed load_guset_role that did not work in course context
* fixed typos in get_child_contexts
* manual guest enrolment changes
2007-02-14 08:03:40 +00:00
vyshane
cdfa3035b7
Merged from 1.7.
2007-02-09 02:24:59 +00:00
skodak
ebce32b5dd
(MDL-8367) Add configuration option to select role for guest - guestroleid
2007-02-01 10:24:26 +00:00
moodler
a2b6ee758e
Merged switchroles fixes from stable
2007-02-01 08:14:08 +00:00
skodak
c785d40ac3
MDL-8373 Add new predefined role "Authenticated user" for all logged in users
2007-01-31 21:05:32 +00:00
skodak
8ba412dab0
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - now instanceid of system context is always 0 (originally it was SITEID which would cause major trouble is somebody tried to change SITEID)
2007-01-30 10:10:25 +00:00
stronk7
bcf88cbbe2
Applying new rs_xxx() functions everywhere. MDL-8134
...
Merged from MOODLE_17_STABLE
2007-01-29 22:23:58 +00:00
stronk7
0f5dafffe9
Applying new rs_xxx() functions everywhere. MDL-8134
...
Merged from MOODLE_17_STABLE
2007-01-29 11:24:18 +00:00
skodak
8d2b18a886
MDL-8337 has_capability() ignores default roles for $userid and does not detect changed $USER and other minor fixes (this is needed for global $COURSE cleanup and fixed+improved cron.php)
2007-01-28 20:52:57 +00:00
moodler
8e82745aed
A little bit of caching for get_my_courses, related to MDL-8149
...
Resetting it in load_all_capabilities() means it gets flushed everytime
role_assign() or role_unassign() is called on the current user, which should
be enough.
The cache is not reset when others assign/unassign roles, but Moodle has
always had this problem.
2007-01-22 03:24:27 +00:00
stronk7
55526eee2d
Some changes to GROUP BY clause to be cross-db (all non aggregate fields
...
in SELECT must be in GROUP BY). Review the logic! MDL-8160
2007-01-12 12:57:50 +00:00
toyomoyo
0db6adc9b0
MDL-8120, changes to roles to facilitate faster log in time
2007-01-12 07:41:33 +00:00
toyomoyo
4cd126780c
old method is faster
2007-01-12 00:47:12 +00:00
toyomoyo
0de75c4cfc
MDL-8138, adding another flag to hopefully speed up the loop
2007-01-11 06:41:38 +00:00
toyomoyo
1cd03601a3
adding caching to get_parent_contexts
2007-01-11 06:06:11 +00:00
toyomoyo
b7e4027142
fix for MDL-8120, fix for slow override SQL. Please test
2007-01-11 05:52:26 +00:00
Martin Langhoff
f3f7610c90
cvsimport fixups -- cvshead had strayed from upstream
2007-01-04 13:15:04 +13:00
sam_marshall
dc268b2f24
MDL-7904: Trivial change to load_capability_def (so it works if run multiple times for the same file during one PHP run)
2006-12-12 17:23:31 +00:00