After seeing discussion about removing vid eventually from vocabularies and just using the machine name, it seems to make sense to use machine name for taxonomy permissions ( edit terms in vid, delete terms in vid ) instead of vid. This also makes sure that permissions for taxonomy are guaranteed to be exportable.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | taxonomy_perms_986168.patch | 1.67 KB | bblake |
Comments
Comment #1
bblake commentedPatch included
Comment #2
febbraro commentedsubscribe
Comment #3
joelcollinsdc commentedsubscribe
Comment #4
mr.baileysUsing the machine name instead of vid in the permission name certainly makes sense from a DX perspective. A couple of issues with the current patch though:
Reviewing your patch also made me look for the original patch that introduced these permissions. Take a look at #340652: Edit/delete terms permission per vocabulary, it has in-depth information on vid versus machine name. If you go through with this patch, make sure you address the issues raised in that thread.
Comment #5
kehan commentedsubscribe
Comment #6
mr.baileysThere seems to be a little more traction in #995156: Use vocabulary machine name for permissions, so marking this one duplicate.
Comment #7
mr.baileys