You are here

function services_keyauth_access in Services 6.2

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

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
Implementation of hook_menu().

File

auth/services_keyauth/services_keyauth.module, line 20
Provides a key based validation system.

Code

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