If there is more than one module with the same human name, ex. we have a feature called Comment that "extends" the core Comment module, the permissions that the core module comment defines wont be available for export.

This is because user_permission_features_export_options() uses the module human name as key instead of the machine name.

Simple fix, just switch so that the machine name is used as key instead. Attaching patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

logaritmisk’s picture

Status: Active » Needs review

Changed status. There is a patch to test.

hefox’s picture

Issue summary: View changes
Status: Needs review » Fixed

thanks

Status: Fixed » Closed (fixed)

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