Hi,

I desperately need to achieve the following for a corporate intranet. BTW, I tried without success different additional modules (User Role, Content Access)

Currently, when a member wants to post a content (Book for example), he can choose whatever 'Audience' which is very permissive

What I would like to achieve (a from other posts it seems to be widely expected) :

1) when a member wants to post a content (Book for example) in a Group, he can only publish it to the groups he belongs (is this anyway a bug ?)

2) a member **cannot** publish as 'Public Audience' with must restricted to a specific role (like administrator, ...)

Let's just me explained the latter issue. If Groups are Departments in a Company, you don't want 'normal' group members to be able to publish in the Group Intranet ('Public Audience')

Thanks a lot for you patience
Chris

Comments

cpotter’s picture

My own temp answers :

1) found how to configure that in the OG Admin : "Audience checkboxes".By removing this option the node belongs to your group (** only 1 group ** however).

2) could still not find that in the basic module which is weird. in fact a way to solve this in a future release could be that when you enable a new content type to work with OG (ie Book), to create a permission 'Create Group Book' that gives you only create/edit permissions in the Group only and not widely

amitaibu’s picture

Status: Active » Fixed

You can achieve your logic by implementing hook_form_alter() in a custom module -- show the groups/ audience checkbox according to your logic.

gibus’s picture

I've just released a contrib module, OG Access Admins, that provides a solution for this issue. See http://drupal.org/project/og_access_admins

Status: Fixed » Closed (fixed)
Issue tags: -audience

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