Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A simple workaround to per-group browsing widget settings - if a "Create CONTENT TYPE content" permission does not exist for any role in a group, simply hide the tab for that content type. This allows group administrators to customize their content options without an additional UI to manage.
A separate OG-specific note - I wonder how this would affect a piece of content that was posted to multiple groups, if that type was disabled in one or more.
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedThat's a good idea. One thing to keep in mind is that commons_groups implements hook_og_access_alter() to grant access to non-group members to post content into the group.
Comment #2
erikwebb CreditAttribution: erikwebb commentedThat should fire before og_user_access() returns, so I don't think it will cause a conflict.
Comment #3
aramollis CreditAttribution: aramollis commentedThere is a patch for this? Anyone have this running succesfully in a production or dev site?
Comment #4
lsolesen CreditAttribution: lsolesen commented