When running an install profile via drush, static caches aren't cleared fast enough for a feature module that defines both a user relationship, and contains the permissions related to that user relationship. Clearing the static cache from within hook_permission() resolves this issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom’s picture

Status: Active » Needs review
FileSize
675 bytes