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.
This field should never appear in the UI.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2049733-hide-group-content-visibility-field.patch | 726 bytes | ezra-g |
Create_a_Post___CL9.png | 15.37 KB | ezra-g |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedThis patch needs functional testing to verify that node access is properly enforced when we hide this field.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedTested #1 with an existing Commons install and found that it prevented the Group Content visibility field from ever being displayed in the UI. I also used the Devel Node Access module to check node access with the field hidden and found that there were no changes.
Comment #3
ezra-g CreditAttribution: ezra-g commentedCommitted. Thanks!
http://drupalcode.org/project/commons_groups.git/commit/510f0c5
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedWhat if we would like this field to appear in the UI? My site relies on this feature.
Comment #6
kay_v CreditAttribution: kay_v commentedfor others with the same question as @bonobo_34, see #2058005: Have a private group, but (some) public content