OG User Roles

This module allows you to assign group-specific roles to users which are restricted to the groups they are in. In other words, using this module, you can assign the role "contributor" to a user in a group, and the user will only have the permissions of that role while he is in that particular group.

OGUR (OG User Roles) does NOT override existing site-wide roles. Any site-wide roles assigned to a user are not affected by OGUR. This module simply allows you to add group-specific roles to a user's profile. See: http://drupal.org/node/189164

Requires og.module (og_forum.module no longer required as of Release 5.x-2.4).

Read the history of this module: http://drupal.org/node/87679

Other features of this module allow you to:

Notes:

  • If your basic "OG User Roles aren't working", please note the following:

    5.x
    It appears that the Drupal caching mechanism is used much more stringently as a result of either 5.7 core or OG 5.x-7.x changes. Assuming OGUR has been installed correctly, this may result in group roles you've assigned to group users not being respected when they should (i.e., when they are in group context). In this case, the solution is to implement the "Clear the Cache" setting in OGUR: http://drupal.org/node/263944.

    6.x
    There is a bug in the user_access() function. See http://drupal.org/node/329646 for explanation and appropriate patch. See http://drupal.org/node/325259 for issue background.
  • If you do not see ogr_access realm in multinode access table, see: http://drupal.org/node/300421
  • Clean URLs is a requirement. http://drupal.org/node/157858 and http://drupal.org/node/155882
  • If you are getting a Call to undefined function og_get_types() error, please see: http://drupal.org/node/273289
  • This module requires the base url of your site not consist of subdirectories. (i.e., your base site url must be "www.yoursite.com" and not "www.yoursite.com/subdirectory"). See: http://drupal.org/node/155882
  • We've had some reported incompatibility between this module and the BuddyList module. http://drupal.org/node/163873. There is resolved here: http://drupal.org/node/166275
  • Issue with Drupal core file upload module. Documented here: http://drupal.org/node/166566
  • This module changes the "node/add" URL for creating new nodes in group context to "ognodeadd" which can cause problems with some other modules. We have fixed most of the problems that have arisen, and so far, we have tracked the known existing incompatibilities down to the following modules: editablefields http://drupal.org/node/175236 and Formfilter http://drupal.org/node/167184. However, you should be aware that you might be using a module which has this incompatibility with OG User Roles.
  • Also, known problem with ognodeadd re-direction with CCK-created group content types where the machine-readable name contains dashes and the human-readable name contains spaces. http://drupal.org/node/178610

Releases

Official releasesDateSizeLinksStatus
6.x-1.22008-Dec-3147.71 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-3.42008-Nov-2452.98 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Jan-0147.73 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-3.x-dev2008-Dec-2252.99 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.