Multiplage App Navigation: Show only permitted menu items

  1. My goal: Show only menu items in navigation component, that the user is permitted according to his group settings. Menu Mode is Manual with submenu items. Each Submenu Items refers to a page in a multipage app.
  2. Issue: All Menu items are shown, regardless if permission is set or not. Not permitted pages can not be opened, but it’s confusing for the user.
  3. Steps I've taken to troubleshoot: Before i used the navigation as module in a non-multipage app. There only the permitted items showed up.
  4. Additional info: (Cloud or Self-hosted, Screenshots):
    Cloud

Your saying it works as you wish when you used it in a module within a legacy, non-multipage app?

1 Like

yes it does.

In a multipage the menu items show up. But when clicked, there appears an error message on bottom right corner saying “Page 'mypage' not found”.

I’m now converting my multipage app manually to previous “legacy” architecture. I found that multipage app has too many disadvantages (field names must be unique across the app, leading to unnecessary naming extensions and so on).

The menu issue kicked me off finally.

What was being navigated to when using the page navigation menu in a non multi page app? A different app with pages?

To just the other app in legacy mode (without the pages feature inside an app).
That is what i defined in the menu item of the navigation component (manual mode).

I’ve put the navigation inside a module and placed it in all apps.
Configured via the groups in settings which group could access each app.

And the navigation component just shows the apps which are permitted automatically.