"When Grants for all users" are set to "view", unpublished nodes also become visible.
There is no way to hide the unpublished nodes, because when the "view" is unchecked, all nodes become invisible.
"When Grants for all users" are set to "view", unpublished nodes also become visible.
There is no way to hide the unpublished nodes, because when the "view" is unchecked, all nodes become invisible.
Comments
Comment #1
timofey commentedComment #2
danielb commentedholy crap! This would be the case in all my drupal 7 node access modules then :/
Comment #3
danielb commentedhttp://drupal.org/node/1294566
Give that a go, if it's good I'll get it into node access user reference etc...
Comment #4
danielb commentedI wonder if it's worth making it configurable whether to affect published nodes. Seems like it would have to be configured differently for each 'section' of options this module provides.
Maybe it should also consider the 'view own unpublished nodes' option?
Comment #5
timofey commented#3 works like a charm!
It would be great to see an option to grant Node Access Node Reference and author an ability to publish/unpublish & view own unpublished nodes.
Comment #6
danielb commentedI don't think I can reasonably implement support for "view own unpublished nodes", unless someone can supply a patch.
I've just added a setting on whether it affects published only or both published/unpublished. That should do the trick.
Comment #7
danielb commented