Closed (fixed)
Project:
Features
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2013 at 11:45 UTC
Updated:
18 Jun 2014 at 19:50 UTC
Jump to comment: Most recent
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.
| Comment | File | Size | Author |
|---|---|---|---|
| use_module_name_as_key_for_permissions-1.patch | 830 bytes | logaritmisk |
Comments
Comment #1
logaritmisk commentedChanged status. There is a patch to test.
Comment #2
hefox commentedthanks