Hey, folks -- I'm in the planning stages for a new Drupal site, and I'm looking for feedback on how best to implement user relationships.
Specifically, I'm creating a site where some users can be tagged as being "children" of other users, and the "parent" user can set user access for each individual children (so a parent would let child 1 have access to blogs, but child 2 would not). Similarly, a third group of users would be responsible for promoting the children after certain criteria are met (such as a "teacher" who would determine if children have completed a semester of study).
Is there an existing Drupal module that provides such functionality, or -- as I suspect -- would I need to write some custom code to do the job?
Thanks in advance,
--R.J.
Comments
I've been thinking about this recently.
A solution for this doesn't currently exist. (to my knowledge) I've been wondering about it myself recently and I thought it would be really cool if user roles could somehow function like taxonomy does with hierarchy and inter-relation. Not sure of all the details of how that would be implemented, but at least in my mind it seems like this concept could be used to solve a lot of node-access issues.
I say all that to say you probably need to code something yourself. :)
You might be able to pull
You might be able to pull something like this off with Organic Groups. Userpoints Roles might be useful as well.
Drupal's so easy, even I could do it.
http://www.kfol.org/
I've been trying to do this
I've been trying to do this as well, literally for parent/child relationships in communities like junior athletic clubs where parents have a related but separate role from their children.
It looks like you can do this with CiviCRM (they have relationship management), but that seems like using a cannon to kill a fly. I'd love to know if anyone has successfully done this with OG's and node access or something similar.
subaccounts -- inheriting permissions
i am using Organic Groups to manage access to different memberships.
it would be killer to subscribe a Company (parent user) to the OG's and then create users and (child) nodes under the Company
-OG
--Company subscription to OG
---User inherits permissions from Company
this way, when managing subscriptions, you'd only need to make changes to company access. we have 50 users per company (sometimes more).
UNLESS
someone has found a way to bulk edit users access to an OG?? i'd have to filter users by company [searching by company field in profile].... and then checking/unchecking permission
i have installed 'Site User List' and 'Userplus' for creating users and searching thru them, but that does not allow me to edit their permissions once filtered.
thanks! this is a great thread!!