Breaddrumb is missing cache contexts

Created on 11 December 2024, 4 months ago

Problem/Motivation

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.

Steps to reproduce

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.

Proposed resolution

Add a cache context on user.role to the breadcrumb.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇨🇦Canada jaypan Victoria, BC

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024