ubc-micb / www

UBC Microbiology and Immunology Website
GNU General Public License v2.0
2 stars 0 forks source link

Unpublished Content Problem #31

Open grandmasterv opened 9 years ago

grandmasterv commented 9 years ago

Parvin asked me to show her how to delete seminars from the website. She said she could not do it. She needs to do this for a couple reasons. First, when someone cancels their presentation for whatever reason. Second, when Parvin makes a mistake and creates a duplicate seminar.

I showed her how to unpublished the seminar if she needs to delete it from the website. This works for removing it from the website and is what she is going to use to remove content for now.

However, when we did this she cannot see her own unpublished content items. This would be useful so she could I have checked the permissions and she is listed as the author of the seminar and the permissions state she should be able to view her own unpublished content but I do not see it listed in the admin content view.

grandmasterv commented 9 years ago

I tested and Parvin CAN view and edit the unpublished node if she navigates to its URL directly. It just does not show up in the admin/content list.

I did some research and this is a known issue when you use any access permissions modules like we do (Content Access). The work around is to create a custom view for the users listing unpublished content. I don't think this is a priority right now so I'll just leave this issue here for now if someone wants to tackle it in the future.

"Content Access module The Content Access module interferes with the Node module's global "View own unpublished content" permission. There is information about this issue, plus a workaround, at Access control module prevents View of user's own unpublished content." https://www.drupal.org/node/1106606

Cause and work around of user not seeing own unpublished content in views https://www.drupal.org/node/1264482

Access Control module prevents View of user's own unpublished content http://mbharris.co.uk/content/access-control-module-prevents-view-users-own-unpublished-content

Unpublished content not visible in admin/content https://www.drupal.org/node/1683074

How to actually view own unpublished content in Drupal 7? http://stackoverflow.com/questions/6058321/how-to-actually-view-own-unpublished-content-in-drupal-7

In Drupal 7, how do I allow users to see their own unpublished content? http://drupal.stackexchange.com/questions/73816/in-drupal-7-how-do-i-allow-users-to-see-their-own-unpublished-content