This module creates one context per Organic Group.

  • When a new Organic Group is created, a new context is created with a default "OG - group node context" condition set for the new group.
  • When an Organic Group is deleted, the associated context is also deleted.
  • All users are prevented from deleting the automatically-generated context by a simple modification to the context "confirm delete" form.
  • An alter hook may be used to modify the default context that is created for each OG.
  • The 'cpo-regenerate' command will automatically re-generate contexts for existing Organic Groups. This allows changes to OG contexts to be deployed programatically.

The development of this module was done as part of the U.S. Department of Justice justice.gov project.

Supporting organizations: 
Development sponsor

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon5 sites report using this module
  • Created by grasmash on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases