Closed (outdated)
Project:
Domain
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
26 Jul 2012 at 18:57 UTC
Updated:
2 May 2025 at 12:45 UTC
Jump to comment: Most recent
Comments
Comment #1
agentrickardThat feature only works on list queries, so it's probably a "feature with a side-effect."
However, if the user can view unpublished content (a core permission), that rule should be applied before this query is run -- when looking at an individual node page.
On what page(s) are these nodes being hidden?
Comment #2
Anonymous (not verified) commentedHidden on the Drupal 'Content' page at /admin/content
I have workaround though: use Domain Views and Views Bulk Operations, and you can recreate your own /admin/content page with preferred filters.
Comment #3
agentrickardI think this is "by design". The problem, at root, is that you cannot write a query that covers the unpublished nodes as well.
See #1673794: Translation tab has problems with unpublished nodes when using modules that implement hook_node_grants for a related issue that explores this problem.
In theory, we might be able to add an additional access realm for unpublished nodes, but I'm hesitant to do so because of the complexity that will introduce.
Comment #4
eric.chenchao commentedI have also encountered this situation that admin ($uid = 1) cannot see unpublished content, and realised that this can be easily fixed by assigning all domain websites to admin in the user edit page.
It will be nice if all domains have been assigned to admin when new domains have been created.
Comment #5
bluegeek9 commentedDrupal 7 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade.