Menu items change from order when saving

Created on 17 July 2023, over 1 year ago

Problem/Motivation

We encountered a problem when saving menu items. Some menu items are losing their order or are in different order. After investigating, this happens due to views pages routes have an access check. The access check is needed as ofcourse you need access checks on paths.
But when using menu links pointing to this pages, the access check is also done in the backend where this module lives.

Steps to reproduce

  • Add a views page with a route
  • Add access check to this route for a domain
  • Add a menu link to this page and sort it between other items
  • Visit another domain with a user different then user 1
  • Modify the sorting
  • Go back to the original domain and you should see the menu link in a different order

Proposed resolution

See if we can get this fixed in the Domain module itself. If not, provide a solution here.

Remaining tasks

Discuss if solution can live in the Domain module
If not, provide a MR with a solution here.

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Postponed

Version

2.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Comments & Activities

Production build 0.71.5 2024