Hi.
Thanks for this great module. Its exactly what we need for the new version of drupalcenter.de :)
Unfortunately using the vocabulary id as key for the config on admin/config/taxonomy-tools/role-access makes it difficult (or even impossible) to use a clean export of the variable with features.
Guess you've exported the configuration with features using vid:2 and enable the feature on a site with some existing vocabularies. After the import the configuration would point to the wrong vocabulary.
The attached patch changes this to use the machine name of the vocabularies, so it doesn't matter anymore how many vocabularies you have.
Comment | File | Size | Author |
---|---|---|---|
#4 | vocabulary_machine_name-1919062-3.patch | 4.02 KB | SteffenR |
#1 | vocabulary_machine_name-1919062-2.patch | 3.53 KB | stBorchert |
vocabulary_machine_name.patch | 1.87 KB | stBorchert | |
Comments
Comment #1
stBorchertUpdated patch (previous one wasn't complete).
Comment #2
martins.bertins CreditAttribution: martins.bertins commentedThanks for the input. I'll take a look at this.
Comment #3
stBorchertThe last patch is still incomplete. I forgot some code in
taxonomy_tools_rebuild_access_grants()
:Comment #4
SteffenRHi stborchert - i rerolled the patch against the latest DEV of the module and also included your missing piece of code :)
SteffenR
Comment #5
martins.bertins CreditAttribution: martins.bertins commentedCommited
With small changes to initial patch + had to ensure upgrade path.