Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After switching users with Devel, I see the full menu of the previous user 1 (but obviously don't have access to anything).
Might only be the case with client-side caching.
Comment | File | Size | Author |
---|---|---|---|
#3 | admin_menu.cache-id.2.patch | 1.1 KB | sun |
Comments
Comment #1
sunLooks like the server cache ID is broken.
When disabling client-side caching and only keeping the server cache enabled, this issue still appears (when switching users).
The cache ID was recently changed from $uid to session_id() in #1189672-12: Admin menu "flush all caches" open to csrf
Comment #2
sunThanks for reporting, reviewing, and testing! Committed attached patch to all branches.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #3
sun