When adding a menu link forbidden to anonymous users, the JSON output without that link is cached; when a user subsequently logs in, they still cannot see that link.

I have created a small patch where I add the user.permissions context.

Comments

yusufhm created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, user-cache-context-not-applied.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

yusufhm’s picture

Status: Needs work » Needs review
StatusFileSize
new600 bytes

Adding a patch for version 1.5 as well (the one I'm using).

fabianderijk’s picture

Status: Needs review » Fixed

This is added in the 8.x-2.8 release

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.