Support views by implementing hook_node_grants and hook_node_access_records instead of hook_node_access

Created on 29 September 2021, about 3 years ago
Updated 8 May 2023, over 1 year ago

Problem/Motivation

This module works great for managing permissions to node pages, but these permissions don't carry over to views.

If a user is allowed VIEW access to a single node through ABF, that node's page is obviously viewable by that user. Works as it should.

But if this same node is in a view output shown to the same user, that node will not display, as the ABF defined permissions aren't being applied.

Feel like this is quite an important feature that should be standard as this module moves forward.

Thanks!

✨ Feature request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States chucksimply

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.

Production build 0.71.5 2024