You are here

function hosting_db_server_access in Hosting 5

File

db_server/hosting_db_server.module, line 85

Code

function hosting_db_server_access($op, $node) {
  global $user;
  switch ($op) {
    case 'create':
      return user_access('create database server');
      break;
    case 'update':
      return user_access('edit database server');
      break;
    case 'delete':
      return user_access('delete database server');
      break;
    default:
      break;
  }

  //  return hosting_access($op, $node);
}