Allow skipping of access check for RenderedEntity views field

Created on 12 December 2023, 7 months ago
Updated 13 December 2023, 7 months ago

Problem/Motivation

Views can be configured to disable SQL rewriting. My use case for this is to disable the access check for content in this specific view.
This view also uses views fields of type rendered_entity. This view field unconditionally respects the entity access. This does not make sense if i disabled the SQL rewriting to show all content in the view, regardless of access.

Proposed resolution

Add an option to "skip access check" in the rendered_entity views field.

Remaining tasks

  • implement logic
  • implement tests?
  • write documentation?
  • write change record?
✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡©πŸ‡ͺGermany tgauges

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

Comments & Activities

  • Issue created by @tgauges
  • Issue was unassigned.
  • πŸ‡©πŸ‡ͺGermany tgauges

    I implemented the necessary logic in an issue fork. Before writing tests, I'd like to know if this feature even has a chance to be merged.

  • πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

    Personally I'm not in favour of the idea. Can it be done in contrib? It's not an 80% use case

  • πŸ‡³πŸ‡±Netherlands Lendude Amsterdam

    -1 from me too. The odds of somebody using it to 'fix' a problem without having a clue as to the consequences are just to big I think (same really goes for 'disable SQL rewriting', would not be in favour of adding that in either if it wasn't already there).

Production build 0.69.0 2024