Question permissions: Difference between revisions
Jamie Pratt (talk | contribs) No edit summary |
Jamie Pratt (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
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. | 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. | ||
==Contexts and permissions== | |||
In Moodle 1.9 we have seperate category hierarchies in [[Question contexts]] and the permissions for what you can do with a question depend on the context in which the question is. | |||
==See also== | ==See also== | ||
{{Moodle 1.9}} | {{Moodle 1.9}} | ||
*[[Question Engine Changes in Moodle 1.9]] | *[[Question Engine Changes in Moodle 1.9]] | ||
*[[Question contexts]] | |||
*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]] |
Revision as of 03:36, 30 August 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
Template: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.
*all or * mine
Template: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.
Contexts and permissions
In Moodle 1.9 we have seperate category hierarchies in Question contexts and the permissions for what you can do with a question depend on the context in which the question is.
See also
- Question Engine Changes in Moodle 1.9
- Question contexts
- Using Moodle capability for editing new questions and examining present capabilities for questions forum discussions