function party_user_party_view_user_access in Party 7
Same name and namespace in other branches
- 8.2 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 112 - 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;
}