Permissions to unpublish/publish own posts only
sourabh.iitm - January 29, 2009 - 09:04
| Project: | Publish Content |
| Version: | 6.x-1.1-beta3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | malaussene |
| Status: | closed |
Description
Hi,
I am looking for normal user level permission to publish/unpublish his own posts only. Can this feature be made available in new versions?

#1
I also need the publish own nodes permission. Here is a patch that implements that.
#2
I will test this tomorrow and will get back to you. Thanks for the update.
#3
Subscribing...
#4
Thank you for the patch! I tried this tonight and it works great - no issues so far.
However, with regard to Views integration - is there any way to tie the "node: publish link" option into the new permissions available with this excellent patch?
I have setup a table view whereby users can review/edit their own content with Node:delete/Node:edit links and am attempting to provide a Node:publish link. However, only users granted permissions for publishing/unpublishing "all" content typeX (vs. publishing "their own" content typeX) are able to view the link. If the user chooses to "Edit" the content type from the view - the publish link works great within the node edit page (using the tab menu option). I'm just trying to provide all edit/publish link options within the main view that I have setup.
Any suggestions would be greatly appreciated - thank you again and best regards!
#5
Patch for 5.x-2.0
#6
applied a variant of this patch to both publishcontent-5.x-2.* and publishcontent-6.x-1.*
It should appears soon in the respective development snapshots.
#7
cheuyungphat,
thanks or your feedback.
I tested the view in drupal 6 with the patch applied and it works fine with Views-6.x-2.3.
Have you tried to reset the views's cache?
They were a bug in publishcontent-5.x-2.0 concerning the view in drupal 5:
see #381338: Publish Link on views display
It is now fixed in the developer snapshot., that should be available soon.
if you still experience the issue, please open a new issue.
thanks
#8
Reposted as new issue.
#9
This looks like just what I need. Look forward to trying it out.
thanks for the contribution!
#10
Automatically closed -- issue fixed for 2 weeks with no activity.
#11
I have tested the latest 6.x-1.1-beta 2 version and there is a small problem.
when i am giving authenticated users permission to publish own posts it is actually showing link for unpublishing the posts for other users too (for that particular content type). And the worse part is that they are able to unpublish a page for which they don't have permissions.
Any 1 else facing the same problem?
#12
I have an update:
Case 1 : When i am giving permission to "publish own __ content" then a user is able to publish/unpublish own __ content.
Case 2 : Problem arises when i am giving permission to "publish own __ content" and permission to "unpublish own __ content". In this case the user is able to unpublish any other users posts (of that particular content type!).
So since case 1 is my need so this is working fine for me. Although case 2 is still a bug.
#13
I am facing an access problem too
I have disabled the permission to publish/unpublish own content, But when the node author logs in and opens the node, The Publish/Unpublish link is getting displayed as a tab. Kindly help
Thanks
#14
hi sourabh.iitm,
thanks for the feedback
it should be fixed with the version 6.x-1.1-beta3, and 5.x-2.1-beta2
let me know if it does not solve your issue
#15
#16
Tested & it is Working properly in new version.
#17
Automatically closed -- issue fixed for 2 weeks with no activity.
#18
http://drupal.org/project/override_node_options