Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.5.6
-
Fix Version/s: Unscheduled
-
Component/s: Drupal Integration Modules
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
Description
First some info about my setup:
Drupal 7.34
OG 7.x-2.7
CiviCRM 4.5.6 (was 4.5.5 on install)
I'm relatively new to CiviCRM so I first thought, that would be a new feature and posted it in the forum:
http://forum.civicrm.org/index.php/topic,35711.0.html
It turned out that syncing og admins to the corresponding ACL group was working in older releases but seems to be broken since civicrm_og_sync supports og-7.x-2.x.
The problem in short:
Only og group node author(s) are added to the CiviCRM ACL group.
Og admins that are not group node author never get added.
My suggestion ist to use og_user_access_entity() for the check, whether a member is admin or not.
I can provide more code snippets if necessary.