When installing a site with Drush, hook_modules_enabled can be fired multiple times, with different modules available each time. This means different permissions are defined each time, but the use of a static variable in og_get_permissions() means permissions are not reloaded when a new module is enabled. This means that default permissions are not correctly set up on install.

In other words, that static variable needs resetting. The attached patch does this :-)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amitaibu’s picture

Status: Active » Fixed

Fixed, thanks.

Status: Fixed » Closed (fixed)

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