If a user is not admin (uid 1) and does not have all available access permissions, then Administration Menu renders also items that this user can not access.

Comments

sun’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new2.12 KB

Attached patch fixes this bug.

sun’s picture

The previous one wasn't complete. This one adds

  • proper access checks along with a temporary fix for core access permissions
  • modularization for moving and removing menu items
  • debugging support through devel module to display menu item ids

and includes some code cleanup.

sun’s picture

Another one. Now doing proper access checks for root level menu items that need to inherit access permissions from their children.

sun’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)