function quiz_perm in Quiz 6.3
Same name and namespace in other branches
- 5.2 quiz.module \quiz_perm()
- 5 quiz.module \quiz_perm()
- 6.6 quiz.module \quiz_perm()
- 6.2 quiz.module \quiz_perm()
- 6.4 quiz.module \quiz_perm()
- 6.5 quiz.module \quiz_perm()
Implementation of hook_perm().
File
- ./
quiz.module, line 82 - Quiz Module
Code
function quiz_perm() {
return array(
QUIZ_PERM_ADMIN_CONFIG,
// Administrating quizzes:
'administer quiz',
// Managing quizzes:
'access quiz',
'create quiz',
'edit own quiz',
'edit any quiz',
'delete any quiz',
'delete own quiz',
// Managing results:
'view user results',
'view own results',
// Allow a quiz question to be viewed outside of a test.
'view quiz question outside of a quiz',
'assign action',
);
}