Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292435

Path admin/structure/menu/parents returns 403 unless UID=1

$
0
0

With the net panel open and logged in with as a user that has admin rights without being User 1 go to admin/structure/types/manage/* where * is a content type that supports menu settings. You will see a 403 on the admin/structure/menu/parents path. This happens because the 'access arguments' key is set to array(TRUE) instead of array('administer menu'). There is no 'access callback' set so user_access is called by default and will return FALSE if passed in TRUE. Patch below fixes this bug.


Viewing all articles
Browse latest Browse all 292435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>