You are here

function advuser_admin_access_ in Advanced User 7.3

Access callback for menu items.

1 string reference to 'advuser_admin_access_'
advuser_menu in ./advuser.module
Implementation of hook_menu().

File

./advuser.module, line 179
Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.

Code

function advuser_admin_access_() {
  $accesses = func_get_args();
  if (empty($accesses)) {
    $accesses = array(
      'access advuser',
    );
  }
  foreach ($accesses as $access) {
    $ret = user_access($access);
    if (!$ret) {
      break;
    }
  }
  return $ret;
}