Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Using roles.

Using roles: Difference between revisions

From MoodleDocs
(rewording of examples requiring permissions overrides)
(rewording of examples requiring new roles, see also)
Line 38: Line 38:
==Allow students to unenrol themselves from a course==
==Allow students to unenrol themselves from a course==


''How'': Override the student role in the course context, via the Assign roles link in course administration block, and allow the unassign own roles capability (requires teachers to be able to [[Override permissions|override permissions]])
''How'': Override the student role in the course context, via the Assign roles link in course administration block and the "Override permissions tab", and allow the unassign own roles capability (requires teachers to be able to [[Override permissions|override permissions]])
* Useful for taster courses, revision courses and any other courses which are optional
* Useful for taster courses, revision courses and any other courses which are optional
* See [[Unenrolment]] for more details
* See [[Unenrolment]] for more details
Line 44: Line 44:
==Hide a block from guests==
==Hide a block from guests==


''How'': Override the [[Guest role|guest role]] in the block context, via the Assign roles link in course block, and prevent the capability to view blocks (requires teachers to be able to [[Override permissions|override permissions]])
''How'': Override the [[Guest role|guest role]] in the block context, via the Assign roles link in course block and the "Override permissions tab", and prevent the capability to view blocks (requires teachers to be able to [[Override permissions|override permissions]])
* See [[Block permissions]] for more details
* See [[Block permissions]] for more details
* Similar use: Hide a block from students
* Similar use: Hide a block from students


==Give students unlimited time to complete timed quizzes==


==Requirement: New role created by an administrator==
''How'': Assign the role of quiz user with unlimited time in the course or module context (requires [[Quiz user with unlimited time role]] to be created by an administrator)
* Useful for particular students who require extra time in exams
* See [[Quiz user with unlimited time role]] for more details


* Give students [[Quiz user with unlimited time role|unlimited time to complete quizzes]]
==Enable students to create questions==
* Enable students to [[Question creator role|create questions]]
 
* Assign a student the [[Calendar editor role|role of calendar editor]]
''How'': Assign the role of question creator in the course context, via the Assign roles link in course administration block (requires [[Question creator role]] to be created by an administrator)
* Provide temporary read-only access to naughty students
* Enables students to create questions which can later be used in quizzes
* See [[Question creator role]] for more details
 
==Assign a student the role of calendar editor==
 
''How'': Assign the role of calendar editor in the course context, via the Assign roles link in course administration block (requires [[Calendar editor role]] to be created by an administrator)
* Allows a user to add course events to the calendar
* Useful for enabling school admin staff to add term dates etc. to the school calendar (when role assigned in the system context)
* See [[Calendar editor role]] for more details
 
==Provide temporary read-only access to naughty students==
 
''How'': Assign the role in the course or module context (requires 'can not post data' role, with selected capabilities prohibited, to be created by an administrator)
* Prevents users from entering text anywhere whilst allowing read-only access
 
==See also==
 
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=90181 10 Useful Things a Teacher Can do with Roles?] forum discussion


[[Category:Roles]]
[[Category:Roles]]

Revision as of 13:27, 16 October 2008

Give students forum moderator rights

How: Assign the role of non-editing teacher in the module context, via the "Locally assigned roles" tab in the editing activity page (default role settings)

  • Enables a user to edit or delete forum posts, split discussions and move discussions to other forums
  • See Forum moderator role for more details

Enable students to grade assignment submissions

How: Assign the role of non-editing teacher in the module context, via the "Locally assigned roles" tab in the editing activity page (default role settings)

  • A form of peer assessment/evaluation
  • Similar use: Enable students to grade essay questions in a quiz

Give students the rights to approve database module entries

How: Assign the role of non-editing teacher in the module context, via the "Locally assigned roles" tab in the editing activity page (default role settings)

  • Enables a user to approve, edit and delete database module entries
  • Similar use: Give students the rights to approve glossary entries

Allow students to clean up saved chat sessions

How: Assign the role of non-editing teacher in the module context, via the "Locally assigned roles" tab in the editing activity page (default role settings)

  • Allows a user to delete chat logs for conversations which don't go anywhere

Create an archive forum

How: Override the student role in the module context, via the "Override permissions" tab in the editing activity page, and set the capabilities to start discussions and reply to posts to 'prevent' (requires teachers to be able to override permissions)

  • In an archive forum, students may no longer start new discussions, nor add replies, but may still read all the discussions
  • See Forum permissions for more details
  • Similar uses: Archive database, glossary or wiki

Enable students to rate forum posts

How: Override the student role in the module context, via the "Override permissions" tab in the editing activity page, and allow the capability to rate forum posts (requires teachers to be able to override permissions)

  • A form of peer assessment/evaluation
  • See Forum permissions for more details
  • Similar uses: Enable students to rate database or glossary entries

Allow students to unenrol themselves from a course

How: Override the student role in the course context, via the Assign roles link in course administration block and the "Override permissions tab", and allow the unassign own roles capability (requires teachers to be able to override permissions)

  • Useful for taster courses, revision courses and any other courses which are optional
  • See Unenrolment for more details

Hide a block from guests

How: Override the guest role in the block context, via the Assign roles link in course block and the "Override permissions tab", and prevent the capability to view blocks (requires teachers to be able to override permissions)

Give students unlimited time to complete timed quizzes

How: Assign the role of quiz user with unlimited time in the course or module context (requires Quiz user with unlimited time role to be created by an administrator)

Enable students to create questions

How: Assign the role of question creator in the course context, via the Assign roles link in course administration block (requires Question creator role to be created by an administrator)

  • Enables students to create questions which can later be used in quizzes
  • See Question creator role for more details

Assign a student the role of calendar editor

How: Assign the role of calendar editor in the course context, via the Assign roles link in course administration block (requires Calendar editor role to be created by an administrator)

  • Allows a user to add course events to the calendar
  • Useful for enabling school admin staff to add term dates etc. to the school calendar (when role assigned in the system context)
  • See Calendar editor role for more details

Provide temporary read-only access to naughty students

How: Assign the role in the course or module context (requires 'can not post data' role, with selected capabilities prohibited, to be created by an administrator)

  • Prevents users from entering text anywhere whilst allowing read-only access

See also