Question sharer

Z MoodleDocs
Skocz do:nawigacja, szukaj



By default, teachers can only share questions with teachers in the same course as themselves and they can only save questions to the course they are currently working in.

This custom role of 'Question sharer' allows them to access and share questions at category or site level. The role must be created by an adminstrator and then given to selected teachers.

Creating a new role

  1. As an administrator, go to Site administration>Users>Permissions>Define roles and click the 'Add a new role' button at the bottom of the screen.
  2. On the next screen, ignore archetypes and presets and click 'Continue'
  3. Give the role a name and if desired a description and tick the "System" context:
questionsharer.png

4.In the filter, type "question"

5.Set the following capabilities to 'allow':

moodle/question:add

moodle/question:editall

moodle/question:managecategory

moodle/question:moveall

moodle/question:viewall

moodle/question:useall

questioncaps.png

6. Click the 'Create this role' button.


Assigning the role to a teacher

  1. As an administrator, go to Site administration > Users > Permissions > Assign system roles.
  2. You should now see your newly created role here
  3. Assign the role to the required course teacher(s).(Note that the users still need to have the teacher role in their courses.)

Note that you can also assign the role to a user in a category if you only wish them to share questions in their category.

Sharing questions

A normal teacher in a course can only see the question category for their own course when they access the question bank. This teacher for example can only see her US Film course questions and can only add her questions to there (or any sub-category she might create):

regularteacherview.png

However, when she has been given the Question sharer role she can then access any questions which have been added at category level ('Miscellaneous') and for the whole site ('System')

sharerview.png

She can also save her questions to there, allowing them to be shared by other teachers with the Question sharer role.

Note that she can also add questions from Administration>Front page settings>Question bank. (but she has no higher administrative powers.)

What are these categories?

  • The categories you will see relate to course categories. For example, 'Miscellaneous' is the default category available on a new install of Moodle (which can be renamed)
  • So a teacher of French with the Question sharer role might see 'Category - Languages' , assuming her French course resides with the Spanish and German course in a category called 'Languages', for example. If she saves her quiz questions to the 'Languages' category, then her Spanish and German teacher colleagues with the role can also access them from their respective courses.

questioncategories.png

  • She can edit the names by clicking on Course administration>Question bank>Categories and then clicking the edit icon:
Question bank
Editing the name

Sharing questions site-wide

  • From a course, go to Course administration>Question bank>Categories
  • Click 'Add category' and select System as the parent category.
  • Create your category and add questions to it.
  • The questions in this category will be available anywhere on the site for teachers with the question sharer role to access.

Why does this work?

See: Question permissions explained with diagrams.

See also