問題パーミッション
作成中です - Mitsuhiro Yoshida 2008年3月17日 (月) 10:39 (CDT)
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
Moodle 1.9
From 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
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.
- *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.
コンテクストおよびパーミッション
Moodle 1.9
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.
関連情報
Moodle 1.9
- Moodle 1.9における問題エンジンの変更
- 問題コンテクスト
- Using Moodle capability for editing new questions and examining present capabilities for questions forum discussions