By not doing so, the filter prevents users from viewing content that they should be able to view on a site with no additional node access modules installed beyond core.

The attached patch checks for

, as Core does in node_access().
#1 core-1822440-1.patch737 bytesdawehner
PASSED: [[SimpleTest]]: [MySQL] 46,224 pass(es).
[ View ]
views-content-access-node-grants.patch712 bytesezra-g
PASSED: [[SimpleTest]]: [MySQL] 1,603 pass(es).
[ View ]


dawehner’s picture

Project:Views» Drupal core
Version:7.x-3.x-dev» 8.x-dev
Component:Code» node.module
Issue tags:+VDC
new737 bytes
PASSED: [[SimpleTest]]: [MySQL] 46,224 pass(es).
[ View ]

This looks great.

I'm not sure what the proper way of getting patches from contrib to core would be, but i think for really simple patches it might make sense to forward-port them.

smiro’s picture

this applies cleanly, honestly not sure how to test what approach might be better ;)

jibran’s picture

Issue tags:+Needs tests

It is a bug it needs some test to show the bug.

jibran’s picture

Status:Needs review» Needs work

As per #3.

xjm’s picture

Component:node.module» node system
Issue summary:View changes

(Merging "node system" and "node.module" components for 8.x; disregard.)