You are here

function fusion_apply_access_handler in Fusion Accelerator 7.2

Same name and namespace in other branches
  1. 7 fusion_apply/fusion_apply.handlers.inc \fusion_apply_access_handler()
1 string reference to 'fusion_apply_access_handler'
fusion_apply_config_info_default in fusion_apply/fusion_apply.module
Prepare default configuration data for modules.

File

fusion_apply/fusion_apply.handlers.inc, line 22
Defines the various default handler functions to support Fusion Apply.

Code

function fusion_apply_access_handler($op, &$form, $form_state) {
  switch ($op) {
    case 'edit skin settings':
      return user_access('edit skin settings') || user_access('administer fusion');
    case 'edit advanced skin settings':
      return user_access('edit advanced skin settings') || user_access('administer fusion');
  }
}