Hi,

It would be a great feature to have a way to limit the types of relation types between users.

Example:

- There are 3 types of relationships: TypeA, TypeB, TypeC
- There are 2 types of roles: Role1, Role2

Between users of the Role1 we can only have the TypeA and TypeC relationships
Between users of the Role1 and Role2 we can have the TypeA and TypeB relationships

With user_relationships_api_can_request I can't block certain types of relationships between users of the same role.

Thanks,
introfini

Comments

Pierre_G’s picture

Subscribing to this !

I'd like to allow users to have a relationship type only with users who have a different role than them.

role1 can only be friend with role2 and role3
role2 can only be friend with role1 and role3
role3 can only be friend with role1 and role2

Is this possible ?
Thanks !

mrf’s picture

Status: Active » Closed (duplicate)

This is being added to 7.x. Closing this as a duplicate of #1115998: Revamp core and UI permissions.