On this page
User Relationship Implications
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
The implications module gives administrators the ability to create implied relationships.
A quick example might be on a company site where users are employees. If there are two relationship types "Co-Worker" and "Manager," the "Manager" relationship implies "Co-Worker." If I am your manager I am also your co-worker.
The system handles this by simply creating the implied relationship after the implying relationship is approved. If I request to be your manager, you will see one pending request - for me to be your manager. When you approve that request the system will approve the manager request and create a co-worker relationship that is auto-approved.
From the included README.txt:
This is a plugin module for the User Relationships module.
It allows admins to set up implied relationships (ex: Manager implies Coworker).
These implies relationships will be automatically created. If a relationship that is
implied by another is deleted the implied by relationship is also deleted.
Implied relationships can be chained (ex: Manager implies Coworker implies Officemate)
Scenarios
---------
User creates a "manager" relationship to another user: The "coworker" relationship will
be automatically created between them.
User removes a "coworker" relationship to another user: The "manager" relationship will
be automatically deleted.
Requirements
------------
Drupal 6
User Relationships Module
Installation
------------
* Enable User Relationship Implications in the "Site building -> modules" administration screen.
* If you want to use the implications relationships page, override the
theme_user_relationships_page in your theme's template.php with the
implications page. E.g.
function phptemplate_user_relationships_page($uid = NULL, $relationship = NULL) {
return return theme('user_relationship_implications_page', $uid, $relationship);
}
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion