This module extends Profile 2 by allowing administrators to create privacy levels as predefined groups or sets of profile fields on a per role basis. Users can then select from among the privacy levels to apply access control to their profile.
Installation & Configuration
You must configure this module! Failing to configure this module will result in inaccessible user profiles. In order to protect user privacy, profiles created prior to enabling this module will have strict access control (i.e. be inaccessible), until the user updates the setting.
- Go to http://example.com/admin/modules and enable the Profile2 Privacy module.
- Go to http://example.com/admin/config/people/profile_privacy and add a profile privacy level.
- Give your privacy level a title and description. Both of these fields are displayed to profile owners to help them determine with privacy level to select.
- For each role, select the profile fields that are visible to users in that role, when the profile owner has selected this role. For example, if you created an “authenticated users only” privacy level, you might set the anonymous role to view first and last name fields, the authenticated role to see first name, last name and contact fields, and an admin role to see all fields.
- Once you’ve created and configured your privacy levels, go to http://example.com/admin/structure/profiles and click the manage fields next to the appropriate profile type
- Add a privacy field by selecting the “Profile Privacy” field type
- Maintenance status: Minimally maintained
- Development status: Under active development
- Module categories: Content Access Control, User Access & Authentication
- Reported installs: 167 sites currently report using this module. View usage statistics.
- Downloads: 5,078
- Last modified: December 2, 2014
- Stable releases receive coverage from the Drupal Security Team.
Look for the shield icon below.