function subuser_switch_permission in Subuser 7.2
Same name and namespace in other branches
- 8 switch/subuser_switch.module \subuser_switch_permission()
 
Implements hook_permission().
File
- switch/
subuser_switch.module, line 12  - Provides primary Drupal hook implementations.
 
Code
function subuser_switch_permission() {
  return array(
    'switch to subuser' => array(
      'title' => t('Switch to subuser'),
      'description' => t('Allows the user to switch (login as) to any of the subusers they have created.'),
    ),
  );
}