noisebridge / pyclass-project

Other
8 stars 2 forks source link

Add options to display e-mail address only to certain users #47

Open Belgand opened 12 years ago

Belgand commented 12 years ago

Check on the profile page and only display the user's e-mail address if the viewer fits into a category as defined by the user. I thought: nobody/logged-in users only/people you're in groups with (or only specific groups)/friends/everyone. Settings would be saved into the user's profile. Processing should take place in the view and then pass a boolean to the template. It might be sensible to create a new model to cover privacy settings and then link that into the profile, rather than trying to shove a ton of data into the profile on it's own.