Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
menu system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2007 at 19:38 UTC
Updated:
7 Jan 2023 at 14:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
catchNo longer applies.
Comment #2
stevenpatzhere's an updated patch.
Comment #3
AmrMostafa commentedRerolled for HEAD.
Comment #4
cburschkaSimple enough...
Comment #5
dries commentedIt looks like we can remove
&& $helpfrom the if-test by moving that if statement into the if-statement above (i.e. nesting).It also looks like
arg[0] == "admin"might be redundant, especially with that new check?We could also consider to move
user_access('access administration pages') && module_exists('help')outside of the foreach-loop.More importantly, I'm puzzled about how someone can see those links if they don't have the 'access administration pages' permission. As far as I can tell, these links are only generated on administration pages. In other words, they shouldn't have access to the page with the link to begin with?
Comment #6
Mac Clemmens commentedHey Dries,
It is possible to see the the help links on some administrative pages, such as /admin/content/forum, which do not require "access administration pages". Users will see an access denied error when clicking through on the "more help" link (which links to admin/help/forum). Hope this helps!
Comment #7
s.shayda commentedHello!
This ticket can be closed. This bug was fixed by commit "e1812b33 Angie Byron on 2010-01-12 at 08:09"
in ticket https://www.drupal.org/node/678628
Comment #8
poker10 commentedClosing according to the #7. The respective commit is here: https://git.drupalcode.org/project/drupal/-/commit/e1812b3353b6fe735e9a0dacf7e48b6eeb71d4cd