Question permissions: diferència entre les revisions
(more info about permisssions in Moodle 1.9) |
Cap resum de modificació |
||
Línia 28: | Línia 28: | ||
==Contexts== | ==Contexts== | ||
From Moodle 1.9 we can share questions in different contexts. Question categories are separated into different contexts from Moodle 1.9. | {{Moodle 1.9}}From Moodle 1.9 we can share questions in different contexts. Question categories are separated into different contexts from Moodle 1.9. | ||
Each different context has a separate question category hierarchy. | Each different context has a separate question category hierarchy. | ||
Línia 42: | Línia 42: | ||
==*all or * mine== | ==*all or * mine== | ||
Notice that apart from the add capability other capabilities to manage questions are *all or * mine. | {{Moodle 1.9}}Notice that apart from the add capability other capabilities to manage questions are *all or * mine. | ||
* *all means all questions and if you have the *all capability *mine is not tested. | * *all means all questions and if you have the *all capability *mine is not tested. | ||
Línia 50: | Línia 50: | ||
==See also== | ==See also== | ||
{{Moodle 1.9}} | |||
*[[Question Engine Changes in Moodle 1.9]] | *[[Question Engine Changes in Moodle 1.9]] | ||
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=67725 capability for editing new questions] and [http://moodle.org/mod/forum/discuss.php?d=68072 examining present capabilities for questions] forum discussions | *Using Moodle [http://moodle.org/mod/forum/discuss.php?d=67725 capability for editing new questions] and [http://moodle.org/mod/forum/discuss.php?d=68072 examining present capabilities for questions] forum discussions | ||
[[Category:Roles]] | [[Category:Roles]] |
Revisió del 11:37, 29 ago 2007
Roles and capabilities in Moodle 1.7 onwards enable possibilities such as students being given permission to edit questions. The following capabilities are related to questions:
- moodle/question:config
- moodle/question:export
- moodle/question:import
- moodle/question:manage
- question:managecategory
Plantilla:Moodle 1.9From Moodle 1.9 onwards :
- the following capabilities replace moodle/question:manage :
- Also from Moodle 1.9 we got rid of capabilities :
- From Moodle 1.9 we test for capabilities :
- moodle/question:add to see if a user has permission to import questions.
- And we test for permission moodle/question:viewall or moodle/question:viewmine to see if a user has permission to export.
Contexts
Plantilla:Moodle 1.9From Moodle 1.9 we can share questions in different contexts. Question categories are separated into different contexts from Moodle 1.9. Each different context has a separate question category hierarchy.
Question category contexts are :
- Activity context : questions only available to one activity module.
- Course context : questions available to all activity modules in a course and within the course from the 'Questions' link in the course administration block.
- Course category contexts : questions available to all activity modules and courses in the course category (remember one course category can contain other course categories, you can share your questions in any or all of the parent course categories).
- Core System context : questions available in all courses and activities on your site.
Question capabilities are tested in the relevant context. So to add a question to a category you must have the add capability for that context. See roles and capability help for more info.
*all or * mine
Plantilla:Moodle 1.9Notice that apart from the add capability other capabilities to manage questions are *all or * mine.
- *all means all questions and if you have the *all capability *mine is not tested.
- *mine means that you have the capability for your questions but not for questions created by others.
If you have the view capability for a question you can view a question created by another and 'Save as New Question' that creates a new question that is one you created and which you can then do anything you have *mine capability to do with.
See also
- Question Engine Changes in Moodle 1.9
- Using Moodle capability for editing new questions and examining present capabilities for questions forum discussions