For one-way relationships, when creating a default relationship, you can't select direction.

Example Relationship:
Name: follow
Type: reciprocal
Requires approval: no
Expiration: never

Now, create a default relationship.
Username: admin
Relationship: follow

It works, but what happens is that admin ends up following the new user. There is no option for the reverse, new users follow admin. With a quick check of the 7.x code, this does not appear to have been fixed there either.

Perhaps the fix is to modify user_relationship_defaults_add_form() to accept a new argument, "newuser to username" or "username to newuser". It may require a schema extension to the user_relationship_defaults table to accommodate the new argument.

Comments

mrf’s picture

Category: bug » feature

Pretty sure this feature request is already out there somewhere, but going to move this out of the bug report queue in the meantime.

mrf’s picture

Component: Code » Defaults

We have a large patch in the queue to help solve a major issue with one-way relationships. Please review if you have a chance so we can move forward with some of these related issues.
#651502: clarify reciprocal & one-way relationships

mrf’s picture

Status: Active » Closed (duplicate)