Closed (fixed)
Project:
Organic Groups
Version:
7.x-1.1-rc3
Component:
og.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2011 at 14:36 UTC
Updated:
4 Aug 2011 at 19:21 UTC
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 :-)
| Comment | File | Size | Author |
|---|---|---|---|
| og-default-permissions-drush-no-prefix.patch (Drush compatible) | 686 bytes | james.williams |
Comments
Comment #1
amitaibuFixed, thanks.