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

buddypress-trac noreply at wordpress.org
Tue Jun 17 20:02:35 UTC 2014


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

Comment (by dcavins):

 Excellent. Reading through the patch, I found the logic easy to follow and
 I like all the spots where plugin authors can influence the outcome of the
 checks. So, are you thinking that if a plugin wants to mix and match
 settings based on group visibility, like

 {{{
 'access' => array(
         'public'  => 'anyone',
         'private' => 'anyone',
         'hidden'  => 'members',
         ),
 }}}

 it should manage that by overriding `user_can_visit()` and
 `user_can_see_nav_item()`?

 Thanks for all the work on this.

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


More information about the buddypress-trac mailing list