This module extends Organic Groups' bundled Organic Groups Access Control (og_access) module by allowing authors finer control over who can see their private group content from members of a group.

By using this module, authors can allow only those group members to view their private group content, who have specific group role(s) within a group.
(Administrator members of a group still always have access to group contents access controlled by this module.)

Installation

Install as you would normally install a contributed Drupal module.

Configuration

This module provides a new field type available on the OG Field Settings administration page (admin/config/group/fields). This field called Group content visibility group roles.

Add this field to any group content type as you would normally do with other OG fields.

For obvious reasons, this field only lists custom group roles, therefore built in group roles (non-member, member and administrator member) are never going to be displayed among field values.

This module only affect access control on private group contents, it does not do anything with public group contents. Also, it does not work on group contents which have more than one Group visibility field.

Similar modules

  • OG Access Roles - Module grants access to a group's content to users who are not members of the group but they have a specific Drupal role. However OG: Group Role Access provides access to a group's private group content only members of the group with selected group roles.
Supporting organizations: 
AttachmentSize
og_access_group_roles.gif115.08 KB

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Access control
  • chart icon10 sites report using this module
  • Created by mxr576 on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases