Closed (fixed)
Project:
OG Default Roles
Version:
5.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
14 Apr 2008 at 04:07 UTC
Updated:
28 May 2008 at 16:11 UTC
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.
Comments
Comment #1
Josh Benner commentedThanks for the debugging. I've corrected this in HEAD. Look for fix in 1.3 release.
Comment #2
Josh Benner commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.