I am looking for a way to achieve this:

Everything happens with logged in users

User with Role A can flag users of Role B

User with Role B can see a views list of users with Role A EXCLUDING the users of Role A that have flagged the user of Role B currently watching the list of all Role A users.

The use case: Users of Role A are open for job offers. But Role B (companies) should not see their own employees looking for a new job. So Role A user can hide himself from his current employer with the flagging.

Played around with a ton of various contextual filter variantions, but none seems to do the trick. Also you always get duplicate entries as soon as the Flag User Relationship is added.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.