• Resolved Demir

    (@sdarthenos)


    Hello!

    I don’t want the authors on my site to see and edit anyone else’s articles other than their own. However, I want them to see all comments on the site (including comments on other authors’ articles) in the admin panel.

    Is there a way to do this?

    PS: Activating the “moderate_comments” permission alone is not enough. However, it is necessary to activate the “edit_post” permission. But in this case, they can see and edit the articles of other authors. But I don’t want that.

    Thanks in advance for your help.
    Regards

    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Hari Shanker R

    (@harishanker)

    Hi @sdarthenos

    Thanks for flagging this with us. I did some digging, and reconfirmed that you are correct – moderate_comments alone will not do the trick. You will need to enable: edit_posts capability as well for it to work. This fact is also mentioned in the following support article: https://www.ads-software.com/support/article/roles-and-capabilities/#moderate_comments

    In order to work around this, you might need to write some custom code to modify the capabilities or to just selectively assign commenting to the author role. I found a potential solution in the following thread – but it looks like you might need to get a plugin for this. I also found some discussion in this thread that might be relevant.

    I know that this is not a solution, but I do hope this guides you in the right direction.

    Thread Starter Demir

    (@sdarthenos)

    Hi @harishanker,

    I have no experience in writing code, I have not written a single line of code for my site so far.

    How can I find a sample code that will give a specific role the right to view and edit all comments on the site? Can you help me with this? I wouldn’t want to buy another plugin for this little feature.

    Regards.

    Thread Starter Demir

    (@sdarthenos)

    Hi again,

    Problem was solved.
    Thank you for your help!
    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Let user be able to edit others comments without being able to edit their posts’ is closed to new replies.