Need to hide group edit tab/ help with og_galleries

portaporpoise - May 2, 2007 - 21:40

I have a community site that relies on organic groups. I want to use OG Galleries to allow my users to share images within their groups.

My problem is that users have to have the "administer organic groups" permission in order to add their own galleries or modify the group galleries. I have admin users who have this permission, but I don't want all of my authenticated users to be able to affect the group membership or settings.

My quick fix idea is to give all users the "administer og" permission but hide the edit tab inside the group, and then just have my admins type edit in the address bar when they want to make changes. So my main question is how do I hide the edit tab just on my group home page?

Also I think a better way to take care of this would be to modify the access control somehow, and add a permission for users to only be able to modify the galleries part of a group, and not the entire group. Any ideas?

 
 

Drupal is a registered trademark of Dries Buytaert.