[buddypress-trac] [BuddyPress Trac] #4785: Decouple "visibility" and "access" properties

buddypress-trac noreply at wordpress.org
Wed Feb 26 22:50:51 UTC 2014


#4785: Decouple "visibility" and "access" properties
-------------------------+------------------
 Reporter:  smninja      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.0
Component:  Groups       |     Version:  1.7
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by dcavins):

 I added a couple of options to the `BP_Group_Extension` `init` arguments.
 They work for setting the display of the menu items, but I'm not figuring
 out how to hook into the access check early in `bp_groups_loader.php` to
 allow a per-extension access setting.

 It seems that the access control is set group-wide via the
 `user_has_access` variable. Can anyone suggest how I might make a check
 based on the requested extension's settings that early in the load process
 (before `bp_groups_loader.php` acts on `user_has_access`)?

 Thanks for your help.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4785#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list