I originally began this issue thinking something was wrong and later realized it was related to not understanding how to use the og_field_access module.
The og_field_access module is included with the organic groups module. It may not be required for many uses of organic groups and how or why to use it is not commonly described in tutorials available online. This may be a good topic for the wiki or documentation.
First the og_field_access module was enabled and the Groups audience and Group content visibility was added to the Page content type. On an existing page after Groups audience is set to a specific group and the Group content visibility is set to private or public, only the page title and none of the content is visible to members or non-members. There are no errors in watchdog and rebuilding permissions does not fix the problem. This is because the og_field_access module by default does not allow access to view the body field. This must be enabled for members and non-members.
This is described in the video tutorial https://modulesunraveled.com/organic-groups-7x-2x/organic-groups-field-access
Although the og_field_access module may not be required for many use cases it is worth noting as described in the video tutorial that if planning to use field access it is best to configure it when beginning to use organic groups because otherwise existing groups that were set to override default roles and permissions will not have field permissions set.
I originally began this issue thinking something was wrong and later realized it was related to not understanding how to use the og_field_access module.
The og_field_access module is included with the organic groups module. It may not be required for many uses of organic groups and how or why to use it is not commonly described in tutorials available online. This may be a good topic for the wiki or documentation.
First the og_field_access module was enabled and the
Groups audienceandGroup content visibilitywas added to thePagecontent type. On an existing page afterGroups audienceis set to a specific group and theGroup content visibilityis set to private or public, only the page title and none of the content is visible to members or non-members. There are no errors in watchdog and rebuilding permissions does not fix the problem. This is because the og_field_access module by default does not allow access to view the body field. This must be enabled for members and non-members.This is described in the video tutorial https://modulesunraveled.com/organic-groups-7x-2x/organic-groups-field-access
Although the og_field_access module may not be required for many use cases it is worth noting as described in the video tutorial that if planning to use field access it is best to configure it when beginning to use organic groups because otherwise existing groups that were set to override default roles and permissions will not have field permissions set.