Hi all,
Please forgive me if I am posting in the wrong place - this is my first post of a question ever. With that said...
I've got a scenario that I've been pouring over for 5 days now, and maybe someone can offer me some help. I need to build a Drupal site where each user has an account within a given "group". My obvious choice for this was Organic Groups, I just can't get the permissions to work the way I need to. Basically, it works like this:
The Hierarchy =>
- Root-Level Organization
-- Sub-Organization
--- Team
---- Individual
Each level can have nodes associated with it, and each level needs to have users associated with it. A user associated to the "Individual" level can only access the nodes associated with their specific level. A user associated to the "Team" level can access nodes associated with their specific level, as well as all of their children (i.e. any Individuals below them on the tree).
My initial thought was to use Organic Groups ( http://drupal.org/project/og ) with OG User Roles ( http://drupal.org/project/og_user_roles ) and OG Subgroups ( http://drupal.org/project/og_subgroups ) to create the Hierarchy and the necessary permissions.
I'm able to create the hierarchy (although the process is rather laborious, but I can always craft a UI later down the road), but the permissions are killing me. Either I can view everywhere in the group (aka up and down the tree) or only within my specific group.
My question is, does anyone have any suggestions as to how to achieve the access levels that I desire? I've tried using ACL and TAC with no real luck. Please let me know if you want further info. Am I approaching this wrong? I've seen people suggest using Taxonomies instead of Subgroups, but I haven't been able to wrap my head around how that would actually work.
Comments
Hi phacts, I think you are
Hi phacts,
I think you are right using OG, OG_userroles, and og_subgroups. Maybe OG_userroles is innecessary. I did'nt try it.
Try with other options in OG settings (private group; private or public posts) and OG_subgroups settings (maybe: group posts propagation = parents, users propagation = children)