You are here

function track_da_files_permission in Track da files 7

Same name and namespace in other branches
  1. 8 track_da_files.module \track_da_files_permission()

Implements hook_permission().

File

./track_da_files.module, line 82
This file contains Track da files main functions.

Code

function track_da_files_permission() {
  $permissions = array(
    'administer track da files' => array(
      'title' => 'Administer track da files',
      'description' => t('Allow users to configure track da files module.'),
    ),
    'initialize tracked files displays datas' => array(
      'title' => 'Initialize tracked files displays datas',
      'description' => t('Allow users to reset reports datas.'),
    ),
    'view tracked files displays datas' => array(
      'title' => 'View tracked files displays datas',
      'description' => t('Allow users to view the displays counter near from files links.'),
    ),
  );
  return $permissions;
}