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

buddypress-trac noreply at wordpress.org
Wed Apr 2 15:54:15 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 needs-unit-tests  |
----------------------------------------+------------------

Comment (by boonebgorges):

 > Can you recommend a good read to get me started or point me to some
 simple examples in the BP test code?

 I'll have to think that over. I have a feeling that the existing
 functionality is going to be pretty hard to test. The group extension
 objects are loaded into the global scope with no predictable name attached
 to them; much of the logic happens in template files; and load order is
 sorta unpredictable. Ideally, we'd have centralized methods for checking
 access, but that's one of the problems that needs to be fixed here :) I'll
 try to find some time to write a test or two that demonstrates the current
 functionality.

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


More information about the buddypress-trac mailing list