You are here

function opigno_statistics_app_permission in Opigno Statistics App 7

Implements hook_permission().

File

./opigno_statistics_app.module, line 181
Module file. Defines module hooks.

Code

function opigno_statistics_app_permission() {
  return array(
    'view opigno global statistics' => array(
      'title' => t('View Opigno global statistics'),
      'description' => t('Allows the user to view Opigno global statistics'),
    ),
    'view own courses classes statistics' => array(
      'title' => t('View own courses and classes statistics'),
      'description' => t('Allows the user to access the statistics for his courses and classes'),
    ),
    'view own opigno user statistics' => array(
      'title' => t('View Opigno user statistics'),
      'description' => t('Allows the user to view their own Opigno statistics'),
    ),
    'view all opigno user statistics' => array(
      'title' => t('View all Opigno user statistics'),
      'description' => t('Allows the user to view all user Opigno statistics'),
    ),
  );
}