Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Question permissions.

Question permissions: Difference between revisions

From MoodleDocs
(removing 1.9 template and info relating to previous versions)
(edit break up, my spell checker is not work !!)
Line 1: Line 1:
{{Questions}}
{{Questions}}
Roles and capabilities in Moodle enable possibilities such as students being given permission to edit questions. The following capabilities are related to questions:
[[Roles and capabilities]] are combined with [[Question categories]] to give a user permission to create, edit and view questions in the [[Question bank]].  For example, a combination might allow a student being able to edit questions in a specific quiz activity or all science teachers being able to use the question categories created for their department and not view other departments categories. In short, question categories are [[Context|contexts]] (see [[Question contexts]]) and work with roles to determine a user's permissions in managing individual questions


==Brief review of permission concepts==
The 2.0 Moodle [[Question bank]] simplifies the task of orrganization of questions but the terminology can be confusing.  In general, a set of questions is created in what is called a question category.  A question category is like a folder in a computer file system or in file cabinate.  Like a file folder, a question categgory might contain other question categories or just a set of questions. Permissions are assigned to question categories.  The nesting (placing of a question category within another question category) can create a hieracary of permissions when it comes to dealing with individual questions located in a question caterory.   
By default a course teacher does not have permission to do anything with questions placed in a category outside the course in which they are assigned a teacher role. By default, students can not even see the Question bank or edit any question.  The default permissions can be changed to meet specific goals of a site, a course or even a specific quiz actiivity.
==Technical notes for administrators==
For users who have privilages to alter the permissisiona for a role, here are some permissions that effect Question bank and its management and use:
*[[Capabilities/moodle/question:config|moodle/question:config]]
*[[Capabilities/moodle/question:config|moodle/question:config]]
*[[Capabilities/moodle/question:managecategory|question:managecategory]]
*[[Capabilities/moodle/question:managecategory|question:managecategory]]
*[[Capabilities/moodle/question:add|moodle/question:add]]
*[[Capabilities/moodle/question:add|moodle/question:add]] - determines whether a user has permission to import questions
 
*[[Capabilities/moodle/question:editall|moodle/question:editall]]  
*[[Capabilities/moodle/question:editall|moodle/question:editall]]  
*[[Capabilities/moodle/question:editmine|moodle/question:editmine]]  
*[[Capabilities/moodle/question:editmine|moodle/question:editmine]]  
Line 12: Line 21:
*[[Capabilities/moodle/question:usemine|moodle/question:usemine]]
*[[Capabilities/moodle/question:usemine|moodle/question:usemine]]
*[[Capabilities/moodle/question:viewall|moodle/question:viewall]]
*[[Capabilities/moodle/question:viewall|moodle/question:viewall]]
*[[Capabilities/moodle/question:viewmine|moodle/question:viewmine]]
*[[Capabilities/moodle/question:viewmine|moodle/question:viewmine]]  
 
Notes:
 
* moodle/question:add is used to determine whether a user has permission to import questions
* moodle/question:viewall and moodle/question:viewmine are used to determine whether a user has permission to export
* Certain capabilities contain the words ''all'' or ''mine'':
* Certain capabilities contain the words ''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.  
** ''mine'' means that you have the capability for your questions but not for questions created by others
** ''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". This 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==
We have separate 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.
By default a course teacher does not have permission to do anything with questions shared in areas outside the course in which they are assigned a teacher role. So if you are a teacher and your site admin has not assigned you permission to share or use questions shared in levels above the course level you will not see questions categories above the course level.


==See also==
==See also==
Line 35: Line 31:
*[[Question permissions explained with diagrams]]
*[[Question permissions explained with diagrams]]
*[[Question creator role]]
*[[Question creator role]]
*[[Question contexts]]


Using Moodle forum discussions:
Using Moodle forum discussions:

Revision as of 12:06, 21 July 2011


Roles and capabilities are combined with Question categories to give a user permission to create, edit and view questions in the Question bank. For example, a combination might allow a student being able to edit questions in a specific quiz activity or all science teachers being able to use the question categories created for their department and not view other departments categories. In short, question categories are contexts (see Question contexts) and work with roles to determine a user's permissions in managing individual questions.

Brief review of permission concepts

The 2.0 Moodle Question bank simplifies the task of orrganization of questions but the terminology can be confusing. In general, a set of questions is created in what is called a question category. A question category is like a folder in a computer file system or in file cabinate. Like a file folder, a question categgory might contain other question categories or just a set of questions. Permissions are assigned to question categories. The nesting (placing of a question category within another question category) can create a hieracary of permissions when it comes to dealing with individual questions located in a question caterory.

By default a course teacher does not have permission to do anything with questions placed in a category outside the course in which they are assigned a teacher role. By default, students can not even see the Question bank or edit any question. The default permissions can be changed to meet specific goals of a site, a course or even a specific quiz actiivity.

Technical notes for administrators

For users who have privilages to alter the permissisiona for a role, here are some permissions that effect Question bank and its management and use:

See also

Using Moodle forum discussions: