Views DisplayLink not properly checking access

Created on 25 January 2023, over 1 year ago
Updated 9 February 2023, over 1 year ago

Problem/Motivation

When a view has multiple displays with different access requirements, the DisplayLink area plugin does not accurately check access.

Steps to reproduce

1. Create a view with multiple displays.
2. Override the second display to have a different permission requirement.
3. On the second display, add the DisplayLink plugin to the footer area, linking to the first display.
4. Log in as a user who can view the second display, but not the first.
5. The link will still be visible, pointing to a 403. It should be hidden instead.

Proposed resolution

Do proper access checking, hiding if not allowed.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia Seth Hilder

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024