Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
there is an issue with IMCE in combination with features. My
IMCE configuration is exported via features. Features exports variables with
Strongarm.
Strongarm initalize all varibales in its own hook_init. But IMCE use a variable already in an menu access callback (imce_roles_profiles) wich is invoked before strongarm_init. So its not possible for strongarm to setup all the variables correctly. Ther variable 'imce_roles_profiles' is always empty after a feature is reverted and the users gets an 'Access denied' regardless of his permissions. Here is a patch to resolve this issue in IMCE.
Comment | File | Size | Author |
---|---|---|---|
initialize-variables-with-strongarm--imce--D7.patch | 1.1 KB | webflo | |
Comments
Comment #1
webflo CreditAttribution: webflo commentedI found a related issue in Strogarm #1062452: strongarm_set_conf() needs to be called sooner
Comment #2
ufku CreditAttribution: ufku commentedI think this should be handled at strongarm side.