I couldn't get this module to work at all. My steps:

  1. Installed module
  2. Set desired view_unpublished permissions
  3. Try to view unpublished content (doesn't work)

Then I went to the status report page and rebuilt the node access permissions. Now the module works as expected.

To avoid these types of issues, my suggestion is to set a drupal message when any of the view_unpublished permissions are created or updated to tell the user that the node access permissions need rebuilt for the changes to be applied. You can also include a link to the node access permissions section on the status report page.

Comments

FranckV’s picture

I confirm (not just for the dev version but for 7.x-1.0). You need to go to admin/reports/status/rebuild

entendu’s picture

Status: Active » Closed (fixed)

Yep, this is right. I've added a hook_enable that lets you know what to do. Also added a note to README.