You are here

function party_user_party_view_user_access in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_user/party_user.module \party_user_party_view_user_access()

Menu access callback for the party user piece.

File

modules/party_user/party_user.module, line 224
Support for linking users to parties

Code

function party_user_party_view_user_access($party) {

  // @todo:
  // - check user_access() for viewing user accounts
  // - check there actually is a user account to show
  // @todo:
  // nice touch, maybe: if there is no user account to show, instead offer a
  // form to connect one?
  return TRUE;
}