#2348 closed enhancement (duplicate)
WP Roles & Capabilities - BP integration
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
BP is currently lacking any use of the WP roles and capabilities system, apart from is_site_admin(). It would be nice to encapsulate some of the current is_site_admin() calls with a capability check. It can be built on going forward.
For example, you could add a capability to your WP Editors role to let them become "site group moderators" -- as in, BP Moderators of every group without having to be a member of the group.
The downside of being able to moderate every group in the current system requires you to be a member, which fills your own Activity Stream with lots of noise.
I've attached a very early patch showing the sorts of changes I'm thinking of and encourage feedback.
Attachments (2)
Change History (10)
WordPress 3.0 has meta_caps. I recommend you look into using meta_caps instead of the route you have proposed here. Adding roles can get messy in a BP_ENABLE_MULTIBLOG install.
wpmuguru, do you have any documentation on meta_caps? I can't find much. Thanks.
- Milestone changed from Future Release to 1.3
- Owner set to DJPaul
- Status changed from new to assigned
Oven is on.
- Milestone changed from 1.6 to Future Release
- Severity set to normal
Probably should aim to do this in 1.7, when we've a better plan for how/if/what/where post types may affect this.
comment:7
boonebgorges — 20 months ago
- Resolution set to duplicate
- Status changed from assigned to closed
See #3740 for further discussion.
- Milestone Future Release deleted

sample