Posted by nzpunter on November 15, 2012 at 6:04am
Hi,
use case:
User 1 creates node.
Access control set so this is only viewable/editable by the user.
Is there a way to group users.
group B: user 1 & user 2
as a member of group B, user 2 can view/edit user 1's nodes.
struggling to find a solution.
Thanks!
Comments
A couple approaches. a) Use
A couple approaches.
a) Use roles and the content access module which will allow you to assign view/edit/create permissions by role per content type and/or node.
b) Use organic groups, and set permissions so anyone who is a member of the group can edit content in that group.
Check Out Roles/Content Access First - Clarifying Question
I would agree with nevets' previous comments RE: exploring Roles and Content Access. (I'd recommend checking those out before graduating to Organic Groups - unless the Organic Groups description sounds exactly like what you're going for overall.)
Are the nodes being created in your situation something you'd intentionally like to keep private (e.g., shared between 2 specific individuals) or can they be open to entire groups (e.g., shared between individuals with "volunteer" and "coordinator" roles)? Your answer to this question might change my response.
Good luck!
roles sounds preferable
I've had a play with OG.. head melting stuff.
I hope it can be done with roles as it seems a lot simpler (although i haven't worked out how yet)
more info:
there is 1 content type used by all users.
the majority of users will be 'single users'. they can only see/edit their own content. (this is done)
Privacy is achieved by granting view/edit permission to own content.
there is a need for 'group users'.
eg, user: shop1, shop2 are members of role tyreShop
same as content type as above, but members of the role can see/edit each others content.
How is the role set up? (or do i need to create a new content type for each role(eg tyreShop)?
thanks for the advice!