Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module provides access control for groups and their content, allowing group owners to make groups and individual content items either public or private. This enables the creation of private communities or restricted-access areas within a website.

The OG Access module for Drupal 10+ enables access control for private and public groups and group content within Organic Groups. It allows group owners to restrict content visibility to only group members or open it up to all site users, supporting both public and private access controls.

Features

OG Access 1.x provides essential private group functionality by adding two access control fields:

  • Group Visibility: Choose between Public (accessible to all site users) and Private (restricted to group members only).
  • Group Content Visibility: Each piece of content within a group can be marked as Public or Private, giving detailed control over content access.

The module leverages hook_node_grants to determine content visibility based on these settings and group membership. This is ideal for creating private communities, restricted-access knowledge bases, and member-only intranet sections.

Post-Installation

After installation, go to Organic Groups settings to configure default access. Group owners can set each group and its content items as public or private via these fields, available in group and content type settings.

Additional Requirements

OG Access requires Organic Groups to function. For version 1.x, no additional dependencies are needed beyond Drupal core modules.

Supporting this Module

To support OG Access development, consider contributing on Drupal.org or sponsoring future improvements.

Activity

Total releases
7
First release
Jan 2025
Latest release
7 months ago
Releases (12 mo)
6 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Dec 17, 2025
2.0.3 Stable Dec 17, 2025
2.0.2 Stable Dec 10, 2025
2.0.0 Stable Aug 12, 2025
1.0.2 Stable Aug 12, 2025
2.x-dev Dev Aug 12, 2025
1.0.1 Stable Jan 21, 2025