Default roles not granted when joining moderated groups

AlenaSystems - April 14, 2008 - 04:07
Project:OG Default Roles
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Josh Benner
Status:closed
Description

Subscription requests must be approved when groups are moderated. When the request is approved, the user joins the moderated group but is not granted the roles checked in the OG Default Roles module admin page.

The reason is the following:
The implementation of hook_og in og_default_roles.module only check for 'user insert' and 'user delete' operations. When a request is approved, og_default_roles_og() is called with $op set to 'user update', resulting in no action.

#1

Josh Benner - May 14, 2008 - 16:10
Assigned to:Anonymous» Josh Benner

Thanks for the debugging. I've corrected this in HEAD. Look for fix in 1.3 release.

#2

Josh Benner - May 14, 2008 - 16:10
Status:active» fixed

#3

Anonymous (not verified) - May 28, 2008 - 16:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.