I'm trying to better understand the new roles system in Moodle 1.7 well enough to make some major hacks to my Moodle. I'm finally understanding just how powerful this can be, but also not nearly sure of myself enough to proceed on certain fronts.
Hopefully somebody can either a) answer the following, or b) point me to the place where it's already been answered
- Contexts: It looks like there are currently 8 contexts in Moodle. Is the following correct? (and what does context_personal refer to?)
- CONTEXT_SYSTEM (10) instanceid refers to id in mdl_course
- CONTEXT_PERSONAL (20) ???
- CONTEXT_USER (30) instanceid refers to id in mdl_user
- CONTEXT_COURSECAT(40) instanceid refers to id in mdl_course_categories
- CONTEXT_COURSE (50) instanceid refers to id in mdl_course
- CONTEXT_GROUP (60) instanceid refers to id in mdl_group
- CONTEXT_MODULE (70) instanceid refers to id in mdl_module
- CONTEXT_BLOCK (80) instanceid refers to id in mdl_block
Thanks in advance!
Greg.