Skip to:
Content

BuddyPress.org

Opened 8 years ago

Closed 8 years ago

#7489 closed enhancement (no action required)

Filter hook for groups_is_user_member()

Reported by: mikeboltonca's profile mikeboltonca Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Groups Keywords:
Cc: dcavins

Description

Per this discussion,it would be helpful to have a hook added that would allow developers to filter the results from groups_is_user_member().

Change History (3)

#1 @dcavins
8 years ago

  • Cc dcavins added

Hi @mikeboltonca-

Thanks for your new ticket. I read the discussion you linked (thanks!) and filtering that value in some cases seems like a workaround rather than an answer. I'm currently refreshing a patch for #6677 which is an attempt to add more granular permissions for groups. I'd much prefer to fix this general problem in a more comprehensive manner.

If #6677 ends up not going anywhere, we can take a filter approach, but I'd really prefer not to.

Thanks!

#2 @mikeboltonca
8 years ago

Hi @dcavins, thanks for the quick reply.

I have to agree with your assessment; adding a filter to groups_is_user_member() isn't a very versatile solution.

The changes in #6677 look very promising, and an option to enable "open groups" (or controls that would lead to the same result) would fit in well there.

#3 @DJPaul
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Closing per above.

Note: See TracTickets for help on using tickets.