I have a two-way "friend" relationship. I need to provide access control to subset groups in the "friend" relationship. I'm wondering if assigning taxonomy terms may be the trick, along with node access taxonomy permissions. Would this work? Is it possible to add taxonomy terms to user relationships (additional code/patch) even though it's not a content type?

Comments

hellomobe’s picture

Title: Add taxonomy (category/list) to Relationships » Add taxonomy (category/list) to User Relationships
alex.k’s picture

Interesting idea though I am not so sure that taxonomy is the way to do it. After all, access control modules would expect nodes, not users or relationships, to be tagged with terms. You may want to have more than one relationship type to do it in a more straightforward way.

hellomobe’s picture

Thanks Alex. If I add more relationships, my need is then as described in http://drupal.org/node/630450. However, I read another one of your more recent comments suggesting to just change the language "become" to "add" and change the view blocks to Them to You. I'm still learning the features, but do you think this will coordinate with node access permissions (I only want my clients (I'm the requester and my client the requestee) to see my newsletter). hmm, I'm thinking the script doesn't function this way - as it is now, logically, I'm requesting to become a client of someone else -- in the database it will have me as the client rather than person B. Ya, I need that in the reverse still...

Other ideas to add a "list/category" feature to user relationships? I still think this is the easiest (from a user standpoint), make everyone a friend for universal "friend" control, and then granulate access with "friend" subcategories/taxonomy-ish (John can categorize Susie as a Peer and Susie can categorize John as a Client -- or both as Peers, etc. ...this solves the one-way to two-way issue where John may ask for a one way Peer, but Susie want's to be John's Peer too). This is basically the same feature as lists in Facebook.

mrf’s picture

Status: Active » Closed (duplicate)

Closing this as a duplicate of #950260: UR LISTS created by end-users.

Trying to clean up the queue and I'm going to use that as the parent of all subcategorization / listing / organizing feature requests.