#2348 closed enhancement (duplicate)
WP Roles & Capabilities - BP integration
Reported by: | DJPaul | Owned by: | DJPaul |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Core | 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)
#2
@
15 years ago
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.
#4
@
14 years ago
- Milestone changed from Future Release to 1.3
- Owner set to DJPaul
- Status changed from new to assigned
Oven is on.
#6
@
13 years ago
- 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.
sample