OA Groups & Roles Problem

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

Hello,

I have created 2 OA groups. "Contributers" is a group intended to give a user the ability to create content on a space and add sections etc to a space. "Readers" is a group intended that a user can view the space and it's contents but cannot add content and cannot comment etc.

I am intending that every user of our site will be one or the other. I have figured out how to set permissions for a group and I have configured the permissions for each group. Now the only way I have found to apply a group to a space is to go into members for a space and to add both groups to the inherited section.

However, this is where the problem comes in. By doing this every user automatically has access to every space and this is not what I want or intend. I want the roles to a apply to a user if they are a member of the space. My point being that users should not be able to access every space. If they are not a member of the space. I don't want them to have any access to the space at all. But becuase I have added the groups to a space, they can find the space, view the space and request membership to the space.

I don't want this. And I don't want to create a group/role for every space.

Any suggestions?

Comments

Hi. A few suggestions: Have

sparklingrobots's picture

Hi. A few suggestions:

Have you tried setting the roles on a per-space basis, rather than using groups to control permissions? You can tweak the permissions of the spaces so that the default user is a Reader, and then add a Contributor role to the people who need it.

You might be able to handle this with regular Drupal permissions--you could restrict Readers from creating any content types, while allowing Contributors to create content. That shouldn't affect access control to the spaces themselves.

Hope that helps.

Open Atrium

Group organizers

Group notifications

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