Drupal is a registered trademark of Dries Buytaert

og_access

30 sites Security covered
View on drupal.org

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
2 months ago
Release cadence
55 days
Stability
86% stable

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