Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Overview

A submodule for Privacy Per User (http://drupal.org/project/privacypu) that allows testing of User Relationships (http://drupal.org/project/user_relationships). The requestee of the relationship is the current user and the requester is the user specified by the argument passed to the Privacy Per User module. This module was created in response to http://drupal.org/node/1240540.

Functionality

In the Privacy Per User module there are two settings; private and public, which allow the user to set the visibility of their profile, nodes or other site features on a Drupal site. This module integrates the User Relationships module with Privacy Per User to allow the user to select user relationships as well as private and public in their profile. For example a user could chose to share their photographs or profile fields only with friends, similar to the way in which Facebook works.

Drupal Commons

This module is currently being used on a production site and intranet using Drupal Commons (which relies heavily on user relationships to provide follower functionality).

Instructions

  1. Select the user relationships you'd like to test for on the Privacy Per User settings page (admin/build/privacypu/settings).
  2. All user relationships that the user has permission to request should now be available to them as a privacy state when editing their profile.

Dependencies

Limitations

The module only allows testing of two-way relationships and Requestee->requester one way relationships.

Notes

The user selecting the privacy state must have permission to access a user relationship in order to select it.

GIT instructions

To download this module, please use the following GIT command:

git clone --recursive --branch 6.x-1.x interactivejunky@git.drupal.org:sandbox/interactivejunky/1478918.git privacypu_user_relationships
cd privacypu_user_relationships

Credits

Created by Marton Bodonyi (http://www.interactivejunky.com) and sponsored by Catch Digital (http://www.catchdigital.com).

Project Information