You are here

function globallink_access_callback_any in GlobalLink Connect for Drupal 7.7

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

@todo Document this function.

11 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_commerce_menu in globallink_commerce/globallink_commerce.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().

... See full list

File

./globallink.module, line 1512
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);
}