Closed (fixed)
Project:
Term Merge
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2013 at 19:57 UTC
Updated:
8 Jul 2013 at 22:40 UTC
It would be useful to be able to set permissions for merging terms per vocabulary.
For example, we have some administrative vocabulary and we do not want site editors to operate with terms from this vocabulary.
And of course we can allow role to merge terms from any vocabulary by setting permission "Merge any terms" (machine name 'merge terms', like in current version of module.)
| Comment | File | Size | Author |
|---|---|---|---|
| term_merge-permissions_per_vocabulary.patch | 3.48 KB | quotesbro |
Comments
Comment #1
bucefal91 commentedThank you for contributing back into the module!
I have slightly changed the signature of term_merge_access, allowing it to be given $account. So it would work by default for currently logged in user, however, if other developers will need to test permissions for other users, they will still be able to outsource this task to this function.
Committed into the module's repository.