Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP vs WP user roles


  • zerlauth
    Participant

    @zerlauth

    Perhaps can you help me (us).
    We have a WP site with BP extension and a full page of extended profile fields.
    I cannot synchronise both properly in order to have BP user roles allowed to some WP users or groups, for instance Mr X (created in WP) only being allowed to manage the BP extended fields for the whole site population, approx. 400 people.
    It does not work and Mr X only accesses the base WP fields, note the extended ones.
    Is this problem well known ? What did I made wrong ?

    Thanks in advance
    Chris’
    France

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

  • Venutius
    Moderator

    @venutius

    This could be to do with role mapping used for BP, if I remember correctly in order to manage a lot of BP options the user needs to ‘manage_options’ as a capability.


    zerlauth
    Participant

    @zerlauth

    Thank you so much
    It seems to work this way with our user role “secretary”
    I am running more tests ASAP
    Thanks again !


    Paul Gibbs
    Keymaster

    @djpaul

    BuddyPress does not use WordPress user roles or capabilities. Technically, there is a bp_moderate capability, but we map that to roles that have manage_options capability (by default), or Network Admins, in multisite.

    Even so, some parts, including the Profile Fields admin screen in wp-admin, require the manage_options capability.

    So, basically, add the bp_moderate capability to all your custom roles, and if that doesn’t work, they’ll need the manage_options role — which, warning, gives them a lot of WordPress admin power as well.

    No ways around this at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar