Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #13638

  • Add optional staff_only boolean attribute to MenuItem dataclass
  • Modify menu rendering logic to evaluate staff_only against user's is_staff status

@jeremystretch jeremystretch merged commit f962fb3 into develop Aug 31, 2023
@jeremystretch jeremystretch deleted the 13638-menuitem-staff-only branch August 31, 2023 15:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2023
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.

Enable controlling the display of navigation menu items depending on the user's is_staff status

3 participants