Tuesday, February 21, 2017

How do I implement a Facebook like privacy settings for extended User?

I have an extended UserProfile to which I want to add some privacy settings as in Facebook. 

the options for a single field  (say email for now) should be,

public - any one can view his email
friends_of_friends - only friends and friends of friends can view his email
friends - only his friends can view his email
friend_list - only a list of friends (pre defined) can view his email.

The same should be applicable for other fields too (say phone, education, work, likes, activity etc .. ).
Can anyone guide me on the right path? I don't need code but ideas would help.
Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8810d747-307c-40c2-8c56-fe361ae742e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment