You are here

function spaces_access_user in Spaces 7

Same name and namespace in other branches
  1. 6.3 spaces.module \spaces_access_user()
  2. 7.3 spaces.module \spaces_access_user()

Access check for a user account page in the current space.

1 call to spaces_access_user()
spaces_menu_access in ./spaces.module
Spaces menu access callback. Allows space types to manage access as related to their space workflow. See hook_menu_alter() for how menu access callbacks / arguments get passed.

File

./spaces.module, line 545

Code

function spaces_access_user($op = 'view', $account = NULL) {
  $space = spaces_get_space();
  return $space ? $space
    ->access_user($op, $account) : TRUE;
}