function role_watchdog_permission in Role Watchdog 7
Same name and namespace in other branches
- 7.2 role_watchdog.module \role_watchdog_permission()
Implements hook_permission().
File
- ./
role_watchdog.module, line 30 - Logs changes to user roles.
Code
function role_watchdog_permission() {
return array(
'view role history' => array(
'title' => t('View role history'),
'description' => t('View role changes on all user pages'),
),
'view own role history' => array(
'title' => t('View own role history'),
'description' => t('View role changes on own user page'),
),
);
}