Capabilities/mod/quiz:attempt: Skillnad mellan sidversioner
Från MoodleDocs
Ingen redigeringssammanfattning |
(Copied from 3.3 docs) |
||
(2 mellanliggande sidversioner av en annan användare visas inte) | |||
Rad 1: | Rad 1: | ||
*This allows a user to attempt quizzes | {{Capabilities}} | ||
* This allows a user to attempt [[Quiz module|quizzes]]. | |||
* This capability is allowed for the student role only. | |||
* 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. | |||
[[Category:Capabilities|Quiz]] | [[Category:Capabilities|Quiz]] | ||
[[Category:Quiz]] | [[Category:Quiz]] | ||
[[es:Capabilities/mod/quiz:attempt]] |
Nuvarande version från 7 augusti 2017 kl. 15.45
- This allows a user to attempt quizzes.
- This capability is allowed for the student role only.
- 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.