It would be nice if there was a configuration option that allowed you to give edit permissions to someone who can view a page.

I made a slight modification to the version I'm using:

if(arg(2) != 'edit') {
  $path = drupal_get_path_alias(check_plain($_GET['q']));
}
else {
  $path = drupal_get_path_alias(check_plain(arg(0).'/'.arg(1)));
}

This is a hack of course, but I can formalize it and submit a patch if interested.

Comments

budda’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Needs work

If the logged in user viewing the node has the right content type node editing permission do they not see the edit tab already?
(not got a 6.x setup here to test on anymore)