You are here

function opigno_quiz_app_permission in Opigno Quiz App 7

Implements hook_permission().

File

./opigno_quiz_app.module, line 297
Module file. Defines module hooks.

Code

function opigno_quiz_app_permission() {
  return array(
    'access all results' => array(
      'title' => t("Access all user results"),
    ),
    'access own results' => array(
      'title' => t("Access own results"),
    ),
    'access teacher results' => array(
      'title' => t('Access teacher results'),
      'description' => t('Allows course teachers to access all their student results.'),
    ),
  );
}