How-to: Group Content Access capabilities in Drupal 8

Posted: 1 year ago

Cross posted at .

In this post, I shall brief you on how to create a group, a group content, and control it's visibility in Drupal 8 based on your needs.

Required Modules

  • Organic Groups
  • Private  (Download Alpha 2 release)

Installing Organic Groups and Private modules

These modules can be installed using the same procedure as we do for any other Drupal 8 module. You may refer Installing Drupal 8 Modules Documentation for the same.Once the necessary modules have been installed successfully, we would proceed ahead to create and configure our group and populate it with the content along with the appropriate configurations.

Creating a Group

In this section, we will learn how to create a structure for the group (we call it as an audience) and later create a private group that we will use for the future demonstration. To do so, we follow the below steps:
  • Navigate to Manage -> Structure -> Content Type -> Add content type or directly navigate to /admin/structure/types/add path of your Drupal 8 installation.
  • To control the default privacy setting of any group that is supposed to be created in the future, and can be modified or overridden later, navigate to the Publishing options tab (at the bottom of the form), and select the appropriate radio button against the Privacy section......................

Visit for complete article on How-to: Group Content Access capabilities in Drupal 8