[buddypress-trac] [BuddyPress Trac] #8071: bp_current_user_can not returning expected results for bp_moderate users
buddypress-trac
noreply at wordpress.org
Fri Mar 22 15:47:06 UTC 2019
#8071: bp_current_user_can not returning expected results for bp_moderate users
-----------------------------+------------------------------
Reporter: Venutius | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Changes (by Venutius):
* type: defect (bug) => feature request
Comment:
I can see that this was a deliberate "temporary" fix back in the day and
that _bp_enforce_bp_moderate_cap_for_admins() is intended to ensure only
site admin get bp_moderate. That being the case, why have it at all? Why
not replace all checks for bp_moderate with edit_options?
Personally I can think of many use cases where I'd want to assign a non-
admin to be able to edit the BP side of things so I'd like to see this
changed.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8071#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list