You are here

function hosting_client_menu_access in Hostmaster (Aegir) 6

Menu access callback for the site creation tab in the client node.

See also

hosting_client_menu()

1 string reference to 'hosting_client_menu_access'
hosting_client_menu in modules/hosting/client/hosting_client.module
Implementation of hook_menu().

File

modules/hosting/client/hosting_client.module, line 678

Code

function hosting_client_menu_access($perm, $node) {
  if ($node->type == 'client') {
    return user_access($perm);
  }
  else {
    return false;
  }
}