Hi malaussene,

I inadvertently misread your post (#366034: Permissions to unpublish/publish own posts only) and did not open a new issue as you suggested - my apologies!

Using Drupal 6.9, Publish Content 6.x-1.x-dev, and Views-6.x-2.3 I have created a basic table View: title of the content type, date posted, link to edit, link to delete and a link to publish/unpublish (e.g. Node:title, Node:post date, Node:edit link, Node:delete link and Node:publish link). I am filtering using "User:current=yes" and have applied the patch for publishing/unpublishing one's "own" content. All nodes created by an authenticated user display correctly.

If an authenticated user (granted access to publish/unpublish "own" content) chooses to edit or simply view one of their nodes, the Unpublish or Publish option is available as a tab option (e.g. displayed after the View & Edit tabs). However, if the user visits the View described above, the Publish/Unpublish link does not display for authenticated users with permissions for publishing "their own content type X."

If I grant authenticated users permission to publish/unpublish "content type X" (e.g. not just their own but "all") the link shows up just fine (which also gives them the ability to edit other users' posts as well).

From the previous thread I followed your suggestion and cleared the views's cache with no success (thank you for the suggestion btw).

Overall it appears as if the View's field for Node:publish link does not "acknowledge" the User permissions that were made available by the "own content" patch and configured within User Permissions.

Any suggestions for what I might look at to correct this? Thank you for all of your time and assistance!

CommentFileSizeAuthor
#2 user_content.txt5.42 KBFWE

Comments

malaussene’s picture

Assigned: Unassigned » malaussene
Status: Active » Postponed (maintainer needs more info)

Hi cheuyungphat,

thanks for creating a new issue :)

I tried to recreate your problem but was unable to do it.
could you export your view and paste it here?

FWE’s picture

StatusFileSize
new5.42 KB

Hi malaussene,

Thank YOU for all of your help - it is certainly appreciated!

I have attached the view to my post as "user_content.txt" - it is pretty basic, just a table with various options. I have tried setting up different content types and new views using the same configuration with no success. This one has really stumped me :-).

malaussene’s picture

Hi cheuyungphat ,

sorry but i was not able to reproduce your issue :(
My setup is:
- Drupal 6.9
- Views-2.3
- publishcontent 6.x-1.1-beta2

Try disabling all the modules that could conflict...
and good luck

malaussene

malaussene’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)