Understanding Permissions - Drupal Roles, Organic Groups

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
guerinteedmike's picture

I have been trying to wrap my head around permissions in Open Atrium for a bit now without success. I see that Open Atrium comes with 3 default roles - Authenticated User, Editor and Administrator which I assume are standard Drupal roles. I have read articles stating you should avoid Drupal roles and use groups to handle permissions (this is what I need in my project). I have found that simply creating a group, adding a user to it and assigning the a space to inherit members of the group doesn't seem to give the user access.

I was hoping someone could help or point me to a tutorial that would make sense of how to use - or not use - Drupal roles, Organic groups and Organic group roles to manage permissions/access.

I am creating a project management portal. I plan on using a space to define a specific project. There will be many projects. In each project (space) I will need to have people that can belong to:
1 - observer group -> Internal team members that are able to view but not edit content. All sections in a project are visible to these members.
2 - Implementers -> Internal team members that will create/administer projects. All sections in a project are visible to these members.
3 - Different client team -> I understand I will use the OA Teams to add outside client contacts. Only some sections will be visible to this team.

thanks in advance

Comments

Did you read the doc pages

Argus's picture

Did you read the doc pages about this? https://www.drupal.org/node/2340349

I went back and read this

guerinteedmike's picture

I went back and read this post a second (or more like fourth) time and I was able to make it work.

There is tons of articles out there on the various pieces. I think the Open Atrium community would benefit greatly from a tutorial that shows how all the various pieces are put together. For example, inheritance is described in the organic groups documentation but it is already in place for OA.

thank you,
regards,
mikeg

OG roles and permissions in Open Atrium

Ed Carlevale's picture

Atrium handles this functionality really elegantly. All the basic tools on are on the OG configuration page (admin/config/group):

  1. Add new roles (eg, observer, implementer) on the OG Node - Space roles page (admin/config/group/roles/node/oa_space).

  2. Edit those permissions on the OG Node - Space permissions page (admin/config/group/permissions/node/oa_space).

  3. Go to your space, click the gear and select Config/people. Assign the new roles

Ed Carlevale
Drupal Developer, MIT Energy Club

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: