Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Role contexts.

Role contexts

From MoodleDocs
Revision as of 11:25, 16 July 2009 by Tim Hunt (talk | contribs)

A context is a "space" in Moodle.

   For example: a course, activity module or block can each be a context. 
   Some contexts can contain multiple contexts in their space, For example, a course can contain a lesson, assignment, forum and quiz modules, plus blocks.


Actually, Chris, I was planning to write a page like this, because I needed it as background to some of the new stuff in Moodle 2.0 I need to document. It would be great if you wrote it for me. However, I think the title should be plain "Contexts", or "Contexts in Moodle", because, at least in Moodle 2.0, Conexts affect more than just Roles. Indeed, see Question_permissions_explained_with_diagrams for something that applies in 1.9. Sorry for graffiti-ing the body of your page. Please delete this once you have read it.--Tim Hunt 11:25, 16 July 2009 (UTC)