I found the following issue in the latest stable release of UR - Rules integration. If you check for the condition "Check if two users are related" it returns true, if there is any relationship type between the two users. Regardless of one-way relationships between A->B or B->A and regardless of the limitation to certain relationship types. If there is any relationship of any type in any direction, it returns true.

Comments

mrf’s picture

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

Version: 6.x-1.0-rc6 » 7.x-1.x-dev

Committed to 6.x-1.x-dev.

Not sure if the rules module has been ported to 7.x yet, but this might need a fix there as well.

berdir’s picture

berdir’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev

Ok, applied your changes and removed the dead code, as discussed, back to you.

mrf’s picture

Status: Active » Fixed

Removed the dead code from 6.x that Berdir found committing this to 7.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.