Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   How can i restrict the authors from edit others comments but they own comments ONLY? (http://forum.bytesforall.com/showthread.php?t=4649)

112358oo Nov 30, 2009 03:57 AM

How can i restrict the authors from edit others comments but they own comments ONLY?
 
Hi again.

I just make author test account to see what they can do as author and i found out that authors can edit/delete others comments even mine as admin under that author's post.

How can i restrict the authors from edit/delete others comments but they own comments ONLY?

I'm using Atahualpa 3.4.1 and WordPress 2.8.4. For enabling everyone to edit its own comment I used WP Ajax Edit Comments 3.01 plugin. When I noticed above problem I installed Capability Manager 1.2.4 plugin and have to restrict authors not only to edit comments, but to edit publish posts also. That seems to be the same function under the WP. Even more, WP Ajax Edit Comments 3.01 is not working anymore with this new plugin.

Here is the link of my website if that could be of any help.

Thanks.

juggledad Nov 30, 2009 06:49 AM

are you sure you are logged as an author? When I create a comment as the admin, a user with a role of author can't edit it.

I test by getting two browsers going, Safari and Firefox. I'll log into one as admin and the other as the author

112358oo Nov 30, 2009 07:42 AM

I put my other account to have Author role and then tested it. I was able as Author to modify any comment in my posts, even the Admin's.

Here is the part in Codex Roles and Capabilities which refers to edit_published_posts for Authors and if you follow the comment link there (see also this comment on the...) you will find the whole discussion about it.

juggledad Nov 30, 2009 08:47 AM

Ahhh, I see the issue. If a user has the role of AUTHOR, they can edit any comment made to a post THEY CREATED including comments made by an someone with the role of ADMINISTRATOR.

However, If the ADMINISTRATOR makes a post and an AUTHOR makes a comment, then the AUTHOR can not edit any comments of that post.

Basically, the AUTHOR has complete control of the post and ALL comments associated with this.

Nothing in Atahualpa will affect this, you might look to see if there is a plugin that could help you.


All times are GMT -6. The time now is 02:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.