You are here

function quiz_question_perm in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 question_types/quiz_question/quiz_question.module \quiz_question_perm()
  2. 6.3 question_types/quiz_question/quiz_question.module \quiz_question_perm()

Implementation of hook_perm().

File

question_types/quiz_question/quiz_question.module, line 59
Quiz Question module. This module provides the basic facilities for adding quiz question types to a quiz. While you can create standard Quiz question types simply by implementing the appropriate hooks, this module provides a framework that makes…

Code

function quiz_question_perm() {
  return array(
    // Manage questions:
    'create quiz question',
    'edit own quiz question',
    'edit any quiz question',
    'delete own quiz question',
    'delete any quiz question',
    'score quiz question',
    'configure quiz question types',
  );
}