I have installed Drupal Commons and am simply not able to find where to make a group private. As far as I can tell you can only make public groups. Please point me in the right direction to enabling private groups in Drupal Commons 3. Thank you.

CommentFileSizeAuthor
#3 Screen Shot 2013-02-26 at 3.06.19 PM.png137.28 KBduckydan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davidhunter’s picture

You can Administer the Group Roles and Permissions - here is a short video on the subject :
http://www.youtube.com/watch?v=yIStVv_RYl8

autolyst’s picture

Also of note Drupal Commons does not install by default with this enabled.

First you should enable the Commons Group Privacy module and its dependent module Organic Groups Access Control.
Be sure to rebuild your permissions at /admin/reports/status/rebuild
You should then be able to switch group visibility on the Ads and Edit Group pages.
Also for additional flexibility you may fine tune the group specific roles and permissions, even allowing group admins the ability to maintain their groups owns specific permissions.

duckydan’s picture

Hi,

First off, thank you both for your help. However, from what I can see it's completely impossible to make a private group until you add a new OG field.

So, I went to /admin/config/group/fields and...

  1. Set the top "bundles" drop-down to "Group" (under Node)
  2. Set the bottom to "Group Visibility" and added that field
  3. Go into the content type "Group" and moved it up from the bottom.

After you add that field, then it's fine.

Now, let me say that I'm no expert, but I have reinstalled Commons 3.0 about 5 times and I am 99% sure these steps are required to make private groups.

duckydan’s picture

I think maybe these steps should be in the documentation, or maybe somehow done automatically when the "Commons Group Privacy" module is enabled.

autolyst’s picture

Category: support » feature

I am not a maintainer on this distribution, however I am switching this to feature requests based on the comment in #4, making the above changes to the Group Privacy Module would require their attention, I am however glad that you were able to resolve your issue.

aramollis’s picture

I think that Commons will be more likely Open Atrium with 3 standard presets by default to make this easier for group admins:

  1. Public Group - open membership & public content (now by default)
  2. Moderated Group - moderated membership & public content
  3. Private Group - moderated or invitation membership & privat content

Thanks and regards

ezra-g’s picture

Title: How to make groups private » Document how to make groups private
Category: feature » task

However, from what I can see it's completely impossible to make a private group until you add a new OG field.

This was a bug that was fixed and will be included in the 3.1 release: #1936446: Group content visibility field not added to OG-enabled content types after enabled Commons Groups Privacy.

The Acquia documentation team is currently working to improve documentation around private groups and we should have an update in approximately the next week.

I'll mark this issue as fixed once that's done.

Summit’s picture

Hi,

I also can't figure out how to make a group private and therefor all content within that group only shown to the groupmembers.
Trying #3 but got: Field Group visibility already exists in Group.
Looking forward to the documentation!

EDIT: may be this is also handy documentation: http://drupal.stackexchange.com/questions/20116/how-to-make-a-og-private
Edit2: This is the specific field: admin/structure/types/manage/group/fields/group_access

Greetings, Martijn

trevorw’s picture

Thanks for the comments on installing OG Content Access (http://drupal.org/project/content_access). After installing, all group content on the homepage for anonymous users was removed, exactly what I needed. I have all my permissions for anonymous un-checked also.

The only thing still showing on the commons home page for anonymous users is the "View: Commons Activity Streams - Activity (Site-wide): Activity (Sidebar)". I've tried a number of things but so far have not been able to remove it only for anonymous users, any guidance would be appreciated. The view doesn't seem to be following any permissions or access restrictions.

trevorw’s picture

Got it removed, found it under Structure > Pages > Home > Variants » Home (anonymous) > Content. Disabled the content panes I did not want.

Also on Structure > Pages > Activity > Settings > Access, needed to add "User: permission Logged in user has "View published content" to kill the activity page for anonymous.

Hope that's it, not sure these are the best methods but they seem to accomplish what I needed for a true private commons and groups.

Matt V.’s picture

Issue summary: View changes
Status: Active » Fixed

I was able to find up-to-date documentation on creating private groups in the Commons documentation on Acquia's site. Specifically, there is a page on "Managing group privacy settings." An Acquia account is required to read the full documentation, but creating an account is free. If anyone with access to edit the Acquia page reads this, the page above mentions the module's name as "Organic group access control" several times, but it's actually "Organic groups access control".

Also, for what it's worth, according to the commons_groups.install file, the Commons Group Privacy module has been deprecated.

ezra-g’s picture

We've updated the Commons documentation per your spelling feedback. Thanks, Matt V.!

Dixitpro’s picture

Hi everyone,

We're facing an issue with the group privacy settings. I had to update dans downgrade several times our modules and recently since the lastest patch came out we upadated to the newest patch. Thus, our privacy group permission doesn't work, and the content that should be hidden is still visible to all users.

Few major info: we updated to Flag-3, no problem using the privacy setting since we downgraded it last week, during the lastest update.

Also, we create added our basic user, as to be registered (signed in) if he's willing to enter the site. This might be in conflict with the privacy group settings that don't work properly, which once again are, content visible to all user when hidden box is check whilecreating a group.

If you have any solution for us,

Should you need more information from us,

Regards,

iman92’s picture

Hi everyone,

Someone can tell me, how can i make a private group with this characteristics?

-only group members can see the content
-only group member can follow the group (less important)
-only group member can create content
-no member can make an access request

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.