I wanted to edit my register menu link so I could show the registration link in the menu account only for anonymous user (not logged in users). But when I try to edit the register menu link the following error occurs:

Access denied

Home >> Administration >> Structure >> Menus

You are not authorized to access this page.

The link I'm trying to access supossedly


PS: I created a new registration form and in that one I could edit and show the the link in users menu only not logged in users but in this one I can't access even I have an admin role.

Log message: log message access denied

  • When you say "created a new registration form" are you meaning that you are trying to replace the default registration form provided in the Drupal core by default? Commented Jan 16, 2017 at 12:52
  • Yes, I used the webform module to help me create a new one.
    – racemi
    Commented Jan 16, 2017 at 13:12
  • 1
    This is a core bug, nothing you're doing wrong. I suggest you create a bug report. I noticed this too, also with user/login.
    – Berdir
    Commented Jan 16, 2017 at 15:37

2 Answers 2


Please visit to the permission page- /admin/people/permissions page and scroll down to check menu permissions for administrator and allow the checkbox to create and edit menus, check the checkbox for Administrator menus and menu items. It is checked by default, but in your case you can verify it. Also I have seen your localhost link has a missing foldername, should be like this- localhost/foldername/admin/structure/menu/item/8/edit?destination=/admin/structure/menu/manage/account

  • On the permissions page I already had checked and have all permissions for administrator checked. As for the foldername thing I didn't quite understood what was the problem, I already have a folder in my pc for drupal "/home/user/public_html"
    – racemi
    Commented Jan 16, 2017 at 13:17
  • Drupal folders(sites/modules etc) are at the root(/home/user/public_html) or are under any specific folder(/home/user/public_html/foldername)? Commented Jan 16, 2017 at 13:43
  • My contrib/custom modules are here "/home/user/public_html/modules". My core modules are here "/home/user/public_html/core/modules"
    – racemi
    Commented Jan 17, 2017 at 10:19
  • Please go through the same issue link, hope this will help you. Commented Jan 17, 2017 at 10:59
  • I didn't understood how to apply the patch. But yeah, that seems a good solution
    – racemi
    Commented Jan 17, 2017 at 11:37

Since nobody told me an answer, I figure a way to bypass the error, creating other menu link and this time as I wanted when I was creating so I didn't need to edit.

It's not a permanent solution but it's a way to go through.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.