Capabilities/mod/quiz:attempt: Difference between revisions
From MoodleDocs
No edit summary |
Helen Foster (talk | contribs) (enabling a user to attempt quizzes) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
*This allows a user to attempt quizzes | * This allows a user to attempt quizzes. | ||
* Guest users can never attempt quizzes, even if you give guests the mod/quiz:attempt capability. This is because all information about a user's progress through the quiz must be stored in the database associated with the user doing the attempt, and each user can only have one attempt open at a time. Since all guest users in Moodle share a single user account, letting guests attempt quizzes would just cause a big mess where different guest users' actions would conflict with each other. Therefore, people logged in as guest are never allowed to attempt quizzes. | |||
* It is currently not possible to allow a user to preview AND attempt quizzes. To enable a user to attempt quizzes, mod/quiz:attempt should be allowed and [[Capabilities/mod/quiz:preview|mod/quiz:preview]] should be not set. | |||
====Legacy Role Default Settings==== | |||
{| border="1" cellspacing="0" cellpadding="2" | |||
|- | |||
! Legacy Role !! Inherit !! Allow !! Prevent !! Prohibit | |||
|- | |||
| Administrator || X || - || - || - | |||
|- | |||
| Course Creator || X || - || - || - | |||
|- | |||
| Teacher || X || - || - || - | |||
|- | |||
| Non-editing Teacher || X || - || - || - | |||
|- | |||
| Student || - || X || - || - | |||
|- | |||
| Guest || X || - || - || - | |||
|- | |||
| Authenticated User || X || - || - || - | |||
|} | |||
[[Category:Capabilities|Quiz]] | [[Category:Capabilities|Quiz]] | ||
[[Category:Quiz]] | [[Category:Quiz]] |
Latest revision as of 08:22, 13 March 2008
- This allows a user to attempt quizzes.
- Guest users can never attempt quizzes, even if you give guests the mod/quiz:attempt capability. This is because all information about a user's progress through the quiz must be stored in the database associated with the user doing the attempt, and each user can only have one attempt open at a time. Since all guest users in Moodle share a single user account, letting guests attempt quizzes would just cause a big mess where different guest users' actions would conflict with each other. Therefore, people logged in as guest are never allowed to attempt quizzes.
- It is currently not possible to allow a user to preview AND attempt quizzes. To enable a user to attempt quizzes, mod/quiz:attempt should be allowed and mod/quiz:preview should be not set.
Legacy Role Default Settings
Legacy Role | Inherit | Allow | Prevent | Prohibit |
---|---|---|---|---|
Administrator | X | - | - | - |
Course Creator | X | - | - | - |
Teacher | X | - | - | - |
Non-editing Teacher | X | - | - | - |
Student | - | X | - | - |
Guest | X | - | - | - |
Authenticated User | X | - | - | - |