aarnau โ created an issue.
Thanks for the quick reply and for the clarification.
To confirm, this issue occurs when using the Gin Admin Theme and its associated "Gin Toolbar". I am not using the deprecated core "Toolbar" module.
You are right that themes usually only style content. However, I can confirm the problem is specific to Gin because it only appears when the Gin Toolbar is enabled. When I switch back to the default Drupal toolbar (from the core "Toolbar" module, for testing purposes), the access checks work correctly and the inaccessible links do not appear.
Based on this, I investigated further and located the source of the problem in the `GinNavigation.php` class. To help resolve this, I have created a Merge Request with a proposed fix.
You can review the changes here: https://git.drupalcode.org/project/gin/-/merge_requests/634/diffs
Please let me know if you have any feedback on the solution. Thanks again for your help!
aarnau โ created an issue.
aarnau โ made their first commit to this issueโs fork.
oskar_calvo โ credited aarnau โ .
aarnau โ created an issue.
aarnau โ made their first commit to this issueโs fork.
aarnau โ created an issue.
aarnau โ created an issue.
aarnau โ created an issue.
aarnau โ made their first commit to this issueโs fork.
Carlos Romero โ credited aarnau โ .
New re-roll here
penyaskito โ credited aarnau โ .
aarnau โ created an issue.
aarnau โ made their first commit to this issueโs fork.
aarnau โ made their first commit to this issueโs fork.
aarnau โ made their first commit to this issueโs fork.
aarnau โ made their first commit to this issueโs fork.