Display content assigned to a group
It seems that all you'd need to do, is to use the Group module.

Refer to my answer to "How to configure access to courses for teachers and students?" for a sample configuration.

Resources


Community documentation for the Group module.
Video tutorial "How to use the Group module in Drupal 8 to manage editorial access control to different areas of a web site".