Access callback for editing a link in a shortcut set.
function shortcut_link_access($menu_link) {
// The link must belong to a shortcut set that the current user has access
// to edit.
if ($shortcut_set = shortcut_set_load($menu_link['menu_name'])) {
return shortcut_set_edit_access($shortcut_set);
}
return FALSE;
}