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 |
Jump to:
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
Thanks for the debugging. I've corrected this in HEAD. Look for fix in 1.3 release.
#2
#3
Automatically closed -- issue fixed for two weeks with no activity.