Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #15977: Hide all admin menu items for non-authenticated users #15978

Merged
merged 2 commits into from
May 7, 2024

Conversation

jeremystretch
Copy link
Member

Fixes: #15977

  • Extend PluginMenuItem with auth_required boolean attribute & enforce when rendering the navigation menu
  • Set auth_required=True on all menu items under the admin group as a sanity check

@jeremystretch jeremystretch requested a review from arthanson May 6, 2024 20:59
@jeremystretch jeremystretch merged commit acc2add into develop May 7, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 15977-hide-admin-menu-items branch May 7, 2024 14:37
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System & background tasks menu items should display only for authenticated users
2 participants