Menu Links and Permissions

Created on 20 September 2024, 4 months ago

Problem/Motivation

Some menus contain link items that are not available to all website users. Today I selected all menu links in a very large website that included content that was only available to roles with a purchased membership (CGSI). These menu items were generated even though testing would only have been available to publicly visible accounts.

Steps to reproduce

Add internal path menu links to a website - that are only available to users with elevated permission - and not available to anonymous visitors.
Generate config and you will find scenerios that point to these 'unavailable' urls.

Proposed resolution

Unsure about a possible solution, do we test each route and see if it is publicly available? Then exclude and send a message to the user?

Remaining tasks

Let's decide if this is necessary and how much work it would take to implement.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States wylbur Minneapolis, Minnesota, USA

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

Comments & Activities

Production build 0.71.5 2024