Community Documentation

OG User Roles: Patches

Last updated March 7, 2009. Created by SomebodySysop on September 26, 2007.
Log in to edit this page.

Basic OG User Roles functionality does not require ANY patches! The patches included in the OGUR tarball are for optional features only.

The following are optional utility patches supplied. Some are required only if you choose to implement an OG User Roles setting that requires it. Others are simply modifications that create functionality that we feel should already exist in the target module. Please read carefully the documentation from the supplied links before deciding to use any of them.

  • og_user_roles.nodeapi_access.patch (deprecated)
    This is a node.module patch (Nodeapi Access Hook patch: http://drupal.org/node/143075) which modifies the "node_access" function to insert a nodeapi 'access' hook . This is only required for TAC/OG Integration (Prior to OGR release 3.0 only!): http://groups.drupal.org/node/3700 and http://groups.drupal.org/node/4026
  • node.module.multinode.patch
    As of OGUR Release 3.0, this patch replaces the og_user_roles.nodeapi_access.patch. This new patch is a node.module patch (Multiple Node Access logic patch: http://drupal.org/node/196922) which modifies the "node_access_grants_sql()" function to utilize the multinode_access table to accomodate multiple access control modules (i.e., TAC and OG). This is only required for TAC/OG Integration: http://groups.drupal.org/node/3700 and http://groups.drupal.org/node/4026
  • og_user_roles.og.module.block_details.patch (deprecated)
    This is an og.module patch designed to make the Group Navigation Menu title a link which will take you back to the Group Home Page. http://drupal.org/node/176140. No longer necessary because as of OG 5.x-6.1 a link is now provided.
  • og_user_roles.user.module.5.2.patch
    This is a user.module patch which modifies the "user_access" function to allow you to reset it's cache. Only required if you wish to use OG User Roles setting "Clear the cache": http://drupal.org/node/177948. Read http://drupal.org/node/166566 for background information.
  • og.module.5.x-3.x-dev.patch
    This is a utility patch to the og.module. It is used to help OG find the group context on a node edit. It is discussed in this issue: http://drupal.org/node/130601 (Group Checkboxes Appear on Form Edit when "Audience checkboxes" is unchecked).
AttachmentSize
OGRConfigureMultinodeUI.jpg54.07 KB

About this page

Drupal version
Drupal 5.x
Audience
Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.