Skip to content

[6.x] Fix configure navs permission not working properly#14775

Merged
jasonvarga merged 2 commits into
6.xfrom
fix-nav-user-permissions
Jun 3, 2026
Merged

[6.x] Fix configure navs permission not working properly#14775
jasonvarga merged 2 commits into
6.xfrom
fix-nav-user-permissions

Conversation

@joshuablum
Copy link
Copy Markdown
Member

When a user has the general configure navs permission but not the more granular per nav view xy nav permission, they can see the navigation listing view but clicking on a nav item results in a You are not authorized to view navs. That's not the intended behavior since configure navs states that it Grants access to all navigation related permissions.

This changes NavTreePolicy::before() to honor configure navs just like NavPolicy::before() does.

Closes #14774

@jasonvarga jasonvarga merged commit 3c2735d into 6.x Jun 3, 2026
19 checks passed
@jasonvarga jasonvarga deleted the fix-nav-user-permissions branch June 3, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User has permission "configure navs" but cannot view navs

2 participants