Problem/Motivation
NodeAccessControlHandler has some logic to allow authors to view their own unpublished content ...
Sadly this doesn't set the cache context correctly, so there is a chance that a node is not visible, even it should be possible.
Steps to reproduce
TBD
Proposed resolution
TBD
Remaining tasks
TBD
User interface changes
TBD
API changes
TBD
Data model changes
TBD
Release notes snippet
TBD
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | 2909138-15.patch | 3.21 KB | quietone |
| #2 | 2909138-2.patch | 2.94 KB | dawehner |
Comments
Comment #2
dawehnerComment #3
timmillwoodAssume this is a @todo?
Comment #4
dawehnerWell I mostly tried to prove there is a problem :)
Comment #15
quietone commentedI didn't find a test like this in core, but that doesn't mean I didn't miss one. Even so, I decided to update the test. If I have done it correctly then this issue becomes a task.
Comment #17
smustgrave commentedThe fact the test passes does that mean the issue has been fixed? Was that just to add coverage?
Could use an issue summary update with proposed solution. Got it started but left spots for someone more familiar with the issue to fill in.
Comment #19
mxr576Could this be related and resolved by #3278759: Access cacheability is not correct when "view own unpublished content" is in use?
Comment #20
mxr576Restored empty-ish issue template.
Comment #21
acbramley commentedDefinitely looks like a duplicate of #3278759: Access cacheability is not correct when "view own unpublished content" is in use, please reopen if not.