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:
- Assign a default role to all new users who sign up to your site.
- Allow group admins to define default roles for signups to their groups. http://drupal.org/node/177414
- Notify group admin of new group subscribers. Requires mimemail.module.
- Set a default "Founder" group role for users who create groups.
- Set a default group administrator role for users who are elevated to group admin status.
- Set a default group role for new subscribers to a group.
- Create subgroups. Requires og_subgroups.module. See important notes here: http://drupal.org/node/334886.
- Create and use registration codes for automatic subscription to groups: http://drupal.org/node/217229
- Comes with it's own access control for optionally integrating the taxonomy access control (TAC) and organic groups (OG) modules. See: http://groups.drupal.org/node/3700.
- Disallow all Public Posts: http://drupal.org/node/247488
- Supports Content Access (http://www.drupal.org/project/content_access) and Access Control List (http://www.drupal.org/project/acl) access control modules. See http://groups.drupal.org/node/5392
- Works with OG Vocabulary (http://www.drupal.org/project/og_vocab) module. See this issue: http://drupal.org/node/162649
- Works with modr8 (http://www.drupal.org/project/modr8) module. See this issue: http://drupal.org/node/164092
- Patched for compatibility with Relativity module. See: http://drupal.org/node/166253
- Compatibility with Content Type Administration by Organic Group module. See: http://drupal.org/node/177866
- Optional settings and user.module patch to reset user_access()
permissons cache: http://drupal.org/node/166566 - Configuration option allows Group Admins to approve new site signups for groups they are admin for.
- Hook provided to allow other OG modules to easily supply Group Node ID. http://drupal.org/node/176703
- Access control for Multiple Node Access. http://groups.drupal.org/node/5392
- Provides block for Group Logo. http://drupal.org/node/256423
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 releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.2 | 2008-Dec-31 | 47.71 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-3.4 | 2008-Nov-24 | 52.98 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2009-Jan-01 | 47.73 KB | Download · Release notes | Development snapshot | |
| 5.x-3.x-dev | 2008-Dec-22 | 52.99 KB | Download · Release notes | Development snapshot | |
