function ip_login_permission in IP Login 7.2
Same name and namespace in other branches
- 7.3 ip_login.module \ip_login_permission()
Implementation of hook_permission().
File
- ./
ip_login.module, line 166 - Allow user login by IP addresses, ranges or wildcards.
Code
function ip_login_permission() {
// @todo add perms checks to correct places in module
return array(
'administer ip login' => array(
'title' => t('Administer IP Login module'),
'description' => t('Perform administration tasks for IP Login.'),
),
'can log in as another user' => array(
'title' => t('Can login as other user'),
'description' => t('Allow user to logout and login as another user.'),
),
);
}