Spinning out of #1792904: Views / Permissions issues - Empty views for users other than uid 1.

When a node is unpublished, we should store a different realm 'domain_unpublished' to replace 'domain_site'.

Users who may view unpublished nodes should be granted access to that realm.

Comments

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new3.37 KB

And a patch. This could use a good test.

agentrickard’s picture

StatusFileSize
new4.07 KB

Affects the list provided by Domain Content as well.

agentrickard’s picture

StatusFileSize
new4.15 KB

That query alteration needs a permission check.

agentrickard’s picture

StatusFileSize
new4.55 KB

And there was a failing test due to a bad permissions check.

agentrickard’s picture

StatusFileSize
new8.14 KB

Final patch with better test coverage.

agentrickard’s picture

StatusFileSize
new8.14 KB

Revised for HEAD.

agentrickard’s picture

Status: Needs review » Fixed

Committed.

   0813047..97a13b0  7.x-3.x -> 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

This is important in places other than "admin" pages. What is an "admin" page, anyway?