[buddypress-trac] [BuddyPress] #3695: Basic profile privacy

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Oct 18 18:17:47 UTC 2011


#3695: Basic profile privacy
-----------------------------------------------+---------------------------
 Reporter:  boonebgorges                       |       Owner:  cnorris23
     Type:  enhancement                        |      Status:  accepted
 Priority:  normal                             |   Milestone:  Future
Component:  Core                               |  Release
 Severity:  normal                             |     Version:
 Keywords:  needs-patch dev-feedback needs-ui  |  Resolution:
-----------------------------------------------+---------------------------
Changes (by cnorris23):

 * owner:   => cnorris23
 * status:  new => accepted


Comment:

 I went ahead and assigned myself to #1995, but I'll leave it up to you
 core devs on whether or not to close that one as a duplicate. I didn't
 think about adding groups as a parameter, but that shouldn't be too
 difficult. I just need to add admin code to allow people to choose who can
 view. I've kept if very basic, and added filters to allow plugin devs to
 get more fine grained. Here's an outline of what I have so far

 1. Site admins can set defaults on a per field basis
 2. Users can set privacy on a per field basis with the options: everyone,
 logged in users, friends, no one, and now groups
 3. Privacy settings are saved in Xprofile meta

 I haven't done anything so far to allow users to restrict a whole profile
 or profile group. Per boone's suggestion in the dev chat, I kept it very
 basic. As stated above, code would have to be touched in a variety of
 places to make it work. I stuck with just profile fields as that only
 touches xprofile code, and it would be the same for profile groups. I
 think profile groups/fields would be the most realistic for a first
 implementation. I don't think restricting a whole profile would be that
 difficult, but it would reach further into the code. From what boone has
 stated above, and what I've coded so far, I think we're pretty much on the
 same page :). I hope to have the code up tonight, so we can talk about it
 in tomorrow's dev chat if needed.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3695#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list