You are here

function fieldable_panels_panes_access_callback in Fieldable Panels Panes (FPP) 7

Check if user has administrator or list permission.

1 call to fieldable_panels_panes_access_callback()
fieldable_panels_panes_access_plugin::access in plugins/views/fieldable_panels_panes_access_plugin.inc
Determine if the current user has access or not.
3 string references to 'fieldable_panels_panes_access_callback'
fieldable_panels_panes_access_plugin::get_access_callback in plugins/views/fieldable_panels_panes_access_plugin.inc
Determine the access callback and arguments.
fieldable_panels_panes_fieldable_panels_pane_ctools_export_ui in plugins/export_ui/fieldable_panels_pane.inc
Implements hook_PLUGIN_NAME_ctools_export_ui().
fieldable_panels_panes_menu in ./fieldable_panels_panes.module
Implements hook_menu().

File

./fieldable_panels_panes.module, line 436
Maintains an entity that appears as panel pane content.

Code

function fieldable_panels_panes_access_callback() {
  return user_access('administer fieldable panels panes') || user_access('access fieldable panels panes master list');
}