You are here

function _homebox_og_user_access_group_settings in Homebox 6.2

Same name and namespace in other branches
  1. 6.3 homebox_og/homebox_og.module \_homebox_og_user_access_group_settings()
  2. 7.2 homebox_og/homebox_og.module \_homebox_og_user_access_group_settings()

Determine if a user can access the OG settings page

1 string reference to '_homebox_og_user_access_group_settings'
homebox_og_menu in homebox_og/homebox_og.module

File

homebox_og/homebox_og.module, line 83
Organic Groups integration for Homebox

Code

function _homebox_og_user_access_group_settings() {
  if (user_access('administer homebox') && user_access('administer organic groups')) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}