Implements hook_rules_action_info_alter().
function tmgmt_local_rules_action_info_alter(&$actions) {
if (isset($actions['component_rules_tmgmt_local_task_assign_to_me'])) {
$actions['component_rules_tmgmt_local_task_assign_to_me']['access callback'] = 'tmgmt_local_rules_component_access';
}
if (isset($actions['component_rules_tmgmt_local_task_assign'])) {
$actions['component_rules_tmgmt_local_task_assign']['access callback'] = 'tmgmt_local_rules_component_access';
}
}