You are here

function autologout_permission in Automated Logout 7.4

Same name and namespace in other branches
  1. 7.2 autologout.module \autologout_permission()

Implements hook_permission().

File

./autologout.module, line 11
Used to automagically log out a user after a preset time.

Code

function autologout_permission() {
  return array(
    'change own logout threshold' => array(
      'title' => t('Change own logout threshold'),
      'description' => t('Selected users will be able to edit their own logout threshold.'),
    ),
    'administer autologout' => array(
      'title' => t('Administer Autologout'),
      'description' => t('Administer the autologout settings.'),
    ),
  );
}