• Resolved skotte

    (@skotte)


    Hi,
    I want to create a “moderator” role for Buddypress Docs. The moderator should be able to edit Docs in the WP backend.

    I was able to make the backend menu visible via “bp_docs_show_cpt_ui” filter. My problem is that these moderators can see it, but they can’t edit the docs. I already gave them the ‘bp_moderate’ cap so I thought it should work, but it doesn’t.

    Is there a possibility to give the same access / rights the admin has (concerning BP Docs) to my custom role?

    Thank You!
    Sebastian

    (I am using BP 1.9.2 )

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Cavins

    (@dcavins)

    Hi @skotte-

    Truthfully, the back-end editing of BP Docs is the least complete part of the system–way more attention has been paid to editing from the front end. (I don’t recommend doing editing primarily from the backend.) If you’ve given your users the bp_moderate capability, they should have full access to all docs from the front end via the docs archive.

    Admin dashboard-wise: The bp_docs post type doesn’t have custom capabilities so should follow the standard caps for the post post type. If you give your users the edit_posts capability, they should be able to edit docs. But I’d test it thoroughly to make sure that the meta data you need like associations and access is preserved when editing via the backend by non-admin users.

    -David

    Thread Starter skotte

    (@skotte)

    Thanks for your fast response!
    It worked and I will test the associations stuff!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘create a moderator role (not admin)’ is closed to new replies.