Menu access checks dont run for entites other than nodes in the menu

Created on 22 November 2017, almost 7 years ago
Updated 9 February 2023, over 1 year ago

Problem/Motivation

When adding a menu link such as
entity:taxonomy_term/2
hook_entity_access does not fire when the menu link is rendered as it does with node entity types.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

10.1 ✨

Component
Menu systemΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¬πŸ‡§United Kingdom Shamrockonov

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    @Shamrockonov, thanks for reporting this problem.

    I tried to reproduce this on Drupal 10.1.x and was not able to. The hook was triggered when a menu link as described in the issue summary was used. Given that and steps to reproduce have not been supplied, I am closing this issue.

Production build 0.71.5 2024