Closed (fixed)
Project:
Taxonomy Manager
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2018 at 10:20 UTC
Updated:
12 Oct 2020 at 08:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
astonvictor commentedYou can try Taxonomy access fix module. It adds additional permissions.
Comment #3
demonde commentedThis has no effect, since TM relies on only one permission and does not respect others.
Comment #4
jacobsanfordHi @demonde,
This is a much needed suggestion - with the new dynamic taxonomy permissions in 8.x, it only makes sense to respect them. Setting to 'needs work', and perhaps someone can get to work on a permissions callback instead of the single, flat permission.
Comment #5
demonde commentedHere is some overview to the changes in Drupal Core 8.5:
https://www.drupal.org/project/drupal/issues/1848686
Comment #6
demonde commentedComment #7
attisanadding vocabulary based permission checks
Comment #8
demonde commentedI can apply the patch but I donnot understand which permissions grant access to the taxonomy manager.
I can access
/admin/structure/taxonomy_manager/voc/my_vocabulary_with_granted_accessbut I cannot access the taxonomy overview page even as admin 1.
/admin/structure/taxonomy_managerComment #9
markusd1984 commentedAny chance to get this rolled back for D7 as well please?
Comment #10
carolpettirossi commentedHi there,
I created a specific permission "access taxonomy manager list" in order to solve the issue reported by @demonde.
I also added checks on MainController::listVocabularies() to:
- display "Add new vocabulary" link only if user has "administer taxonomy" permission
- display "Edit vocabulary settings" only if user has "access taxonomy overview" permission
I hope the patch is useful to everyone and gets committed soon to a new release :)
Thanks,
Carol
Comment #11
lisa.rae commentedApplied patch from #10, set permissions for a role to add and edit terms but not delete, permissions schema does not appear to work -- users with the role that does not have delete permissions are allowed to delete terms through the Taxonomy Manager interface.
Comment #12
lisa.rae commentedComment #13
carolpettirossi commentedI've updated "/taxonomy_manager/subTree" route to use the new "access taxonomy manager list"permission.
Without this change, taxonomy with multi level terms fail to load children (Load error) when user clicks to show sub tree.
The issue reported above by @lhridley has not been fixed yet.
Comment #14
ivnishComment #15
demonde commentedTo me this works fine.
Comment #16
carolpettirossi commentedHi community,
I'm adding a new patch re-rolled for 8.x.1.x version.
Comment #17
carolpettirossi commentedHere's a new patch in case anyone is using the D9 version of this module (2.x)
Comment #18
vladimirausComment #19
vladimirausComment #21
vladimirausThanks everyone for contributing, testing and reviewing!