You are here

function file_admin_permission in File admin 7

Implements hook_permission().

File

./file_admin.module, line 41
Enhances file administration by adding published, promote, and sticky fields.

Code

function file_admin_permission() {
  $perms = array(
    'view any unpublished files' => array(
      'title' => t('View any unpublished file details'),
      'description' => t('For viewing file details, not for downloading files.'),
    ),
    'view own unpublished files' => array(
      'title' => t('View own unpublished file details'),
      'description' => t('For viewing file details, not for downloading files.'),
    ),
  );
  return $perms;
}