Opened 8 years ago
Closed 8 years ago
#7489 closed enhancement (no action required)
Filter hook for groups_is_user_member()
Reported by: |
|
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)
#2
@
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.
Note: See
TracTickets for help on using
tickets.
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!