« Porting the REU Application form to Drupal | Main | Building a Friendly Metadata Interface for Researchers in Drupal »

December 02, 2010

Allowing User Roles to View Unpublished Content in Drupal

Intro: I have unpublished content that comes via CCK-built registration form and I want specific User Roles to be able to access (view) it but not edit it.

Problem: Only User Roles with "Administer Node" rights can access (view) unpublished content, but this also give them Edit rights. In this case, I don't want the people who are evaluating incoming applications to be able to edit the applications. This is more for their protection than anything else.

1) Work something out with panels that evaluates the Author's Role and if that User Role = Applicant, then only allow the Authenticated (Acting) User to view the Node...........Actually, I don't think this will work...

which is why I went with this

2) The View Unpublished Module places an additional permissions section into admin/user/permissions that allows you to specify which roles can View unpublished content (on a per content type basis.)

Posted by kkwaiser at December 2, 2010 10:29 AM


Login to leave a comment. Create a new account.