unmasquerade link shows in menu when not masquerading

Created on 22 March 2022, over 2 years ago
Updated 27 February 2024, 4 months ago

Problem/Motivation

In the user menu at /admin/structure/menu/manage/account, the unmasquerade link shows even if I'm not masquerading.

Steps to reproduce

Login as user with permission to masquerade. Unmasquerade menu item appears in menu.

Proposed resolution

Fix core issue πŸ› Regression: Do not bypass route access with 'link to any page' permissions for menu links Needs work

Remaining tasks

Implement.

User interface changes

None.

API changes

None.

Data model changes

TBD

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada sagesolutions

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024