Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow non-admins to edit groups in backend


  • kjf9
    Participant

    @kjf9

    Hi,

    I’m struggling around buddypress’s lack of capabilities. I need to allow non-administrators to view/edit groups in the backend. So far as I can tell the only way a user can edit a groups in the backend is if they are an administrator.

    Is there any way to change this to a different role/cap? I’d even go as far as editing the buddypress core files if I need to, I have to arrange this.

    Thanks for your help

Viewing 1 replies (of 1 total)

  • kjf9
    Participant

    @kjf9

    In case anyone has the same issue I’ve settled with changing the 3 instances of bp_moderate in the core file bp-groups/bp-groups-admin.php to a custom cap edit_groups which allows users to see & edit groups in the backend. You have to pass the user_id into the bp_has_groups loop in the prepare_items() function too at the bottom of the same file.

    Ugly hacking but it works…

    If anyone has a better solution please let me know. Don’t know why bp doesn’t come with these kind of capabilities…

Viewing 1 replies (of 1 total)
  • The topic ‘Allow non-admins to edit groups in backend’ is closed to new replies.
Skip to toolbar