You are here

function services_keyauth_access in Services 7

Same name and namespace in other branches
  1. 6.2 auth/services_keyauth/services_keyauth.module \services_keyauth_access()

This function is called to determine whether the current user has access to a keys configuration.

1 string reference to 'services_keyauth_access'
services_keyauth_menu in auth/services_keyauth/services_keyauth.module
Implements hook_menu().

File

auth/services_keyauth/services_keyauth.module, line 23
@author Services Dev Team

Code

function services_keyauth_access() {
  return user_access('administer services') && variable_get('services_use_key', FALSE);
}