Is it the case that Drupal roles and permissions other than the "Authenticated User" "Editor" "Administrator" provided out of the box have no function in OA and that all rights and permissions in OA are controlled by assigning users to Groups and Teams and granting access rights to these groups and teams?
Or can traditional Drupal roles also be used to give a finer grained control over what particular uses can do with a content type in a certain space/section?
For example can a user see content in a section but not have edit rights based on their role?
Frankly I am finding this very confusing so please humor my old processor with what may be an explanation of the obvious.
Comments
Comment #1
daveys123 commentedYou're not the only one to find this confusing. I am looking to gain a better understanding, and figure I'd share what I'm looking at. This however may not be correct but I think it's worth sharing to get the ball rolling a bit.
As Open atrium seems to use Organic Groups extensively, I am currently thinking that the standard Drupal roles and permissions, although still available, would not be the best place to set these as it could lead to permission confusion further along. Instead there are sections in admin-Configuration-Organic Groups which look promising to me. From here there are roles and permissions associated with node:Group and node:Section with the fine permissions for content types, cals etc.
If this is the wrong way to be thinking about the roles and permissions for more fine grained solutions, I'm happy to be corrected.
Comment #2
paulrussell commentedHi,
We have a use case where users are members of two spaces. One for their small group and one for a bigger group. I need to have user’s able to post a number of content types to their smaller private space but only the discussion content type to the larger group space.
Let’s call it class and school. Students are members of their class and their school.
We want students to be able to post most of the available content types to their class space but not the ”News” type which is restricted to the Teacher only. All members of the class can see all the content.
In the school space the teachers can post everything and the students can only post discussions. But again all members of the school can view all the school content. But they canot see the content of other classes.
I have tried old style Drupal role/permission and also admin-Configuration-Organic Groups. I have also found nothing in the documentation.
It seem to me to be a requirement that must be common. I have a feeling I am missing some basic conceptual understanding here.
regards
Comment #3
Argus commentedCheck here #2226783: [Documentation] Open Atrium Permissions for a start at OA permissions.
Comment #4
mpotter commentedOrganic Groups overrides normal Drupal global permissions. So in Open Atrium you will typically want to use OG Permissions and OG Roles. The global drupal roles for content creation are ignored.
In the future we plan to allow you to assign an Open Atrium Group and/or Team to an OG Role.
If you want to use Drupal roles, there is the OG Role Override module that allows a Drupal role to be assigned to an OG Role within a space/group.