I have an organic group called ‘newsletter’. I have two content types – ‘issue’ and ‘article’ – in ‘issue’ (which is set to be a group content type), there is a node reference field to articles, and many articles in a single issue, using an inline entity reference form.
I want to put an issue inside an organic group, for access control. I also want the articles that the issue references inherit that group content relationship without having to explicitly set the group for every single piece of content.
The group is public, but the content is private. I don’t want anyone to access group content until they go though a process and purchase access via the commerce_licence_og module.
The article (content referenced in entity reference field) isn’t added to the group content, though the issue itself is. I felt that a group reference for every article is redundant, and I would rather the article inherit the issue’s access and status as group content rather than have a bunch of redundant fields and is automatic, not requiring additional admin steps.
Is there an easy way to do this? Do I HAVE TO make the articles group content in the UI?
Sponsored by SupremePR