function tmgmt_local_rules_task_access in Translation Management Tool 8
Same name and namespace in other branches
- 7 translators/tmgmt_local/tmgmt_local.rules.inc \tmgmt_local_rules_task_access()
Access callback to the unassign task rules action.
1 string reference to 'tmgmt_local_rules_task_access'
- tmgmt_local_rules_action_info in translators/
tmgmt_local/ tmgmt_local.rules.inc - Implements hook_rules_action_info().
File
- translators/
tmgmt_local/ tmgmt_local.rules.inc, line 63 - Rules integration.
Code
function tmgmt_local_rules_task_access() {
return user_access('administer translation tasks') || user_access('provide translation services');
}