- Issue created by @jaypan
- Merge request !43493373: Add cache contexts to breadcrumb for user roles. → (Open) created by Unnamed author
The breadcrumb does not have cache contexts set on it, and therefore caches for the first user role, and then shows the same for any following role.
1. Install the module
2. Create a menu hierarchy of pages that have varying levels of access based on user role
3. Visit the various pages with different roles, and observe that the breadcrumb is cached for the first user role that visits.
Add a cache context on user.role to the breadcrumb.
Active
1.2
Code