When viewing a page that links to a rabbit holed page, the bypass message is displayed

Created on 24 February 2025, about 1 month ago

Problem/Motivation

> This page is configured to apply "Access denied" Rabbit Hole action, but you have permission to see the page.

Steps to reproduce

Proposed resolution

Not sure.

Workaround is to configure Rabbit Hole to not display bypass messages at all.

Probably, rabbit hole should add the ability for code calling BehaviorInvoker to set whether messages should be shown or not.

In a custom module using entity bundles to do the same link alteration as this module but for Rabbit Holed content displayed as rendered entities (with Entity Reference override), i had to reproduce the logic of RabbitHoleBehaviorPlugin anyway, and so fortuitously avoided this issueโ€” that would be another option, but annoying unless Rabbit Hole Links also wants the functionality i wanted: To *not* show the link to privileged users, to instead show them the reference without a link same as regular visitors would see, and then to tack on an edit link separately.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mlncn Minneapolis, MN, USA

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

Comments & Activities

Production build 0.71.5 2024