You are here

function globallink_access_callback_any in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink.module \globallink_access_callback_any()
  2. 7.5 globallink.module \globallink_access_callback_any()

@todo Document this function.

9 string references to 'globallink_access_callback_any'
globallink_beans_menu in globallink_beans/globallink_beans.module
Implements hook_menu().
globallink_block_menu in globallink_block/globallink_block.module
Implements hook_menu().
globallink_entity_menu in globallink_entity/globallink_entity.module
Implements hook_menu().
globallink_fieldable_panels_menu in globallink_fieldable_panels/globallink_fieldable_panels.module
Implements hook_menu().
globallink_interface_menu in globallink_interface/globallink_interface.module
Implements hook_menu().

... See full list

File

./globallink.module, line 1367
GlobalLink translation module.

Code

function globallink_access_callback_any() {
  return user_access(TPT_ROLE_MANAGE_TRANSLATIONS) || user_access(TPT_ROLE_DO_TRANSLATIONS) || user_access(TPT_ROLE_VIEW_TRANSLATIONS);
}