- 🇬🇧United Kingdom MrDaleSmith
The reason this is failing is because if the user does not have the "reset" permission for either all vocabularies or the specific vocabulary being looked at, the core overview form does not add the tabledrag data into the form (core/modules/taxonomy/src/Form/OverviewTerms::buildForm 443-471.
I'm not sure how this should be resolved in the module, but a workaround is to grant users both the reorder and reset permissions if you want them to be able to use the drag and drop reordering.
- 🇧🇬Bulgaria bibishani Sofia
hey, I faced this issue too.
If the user does not have permission to edit, but only to reorder the taxonomy it fails.
Action that is used to render drag and drop functionality and weight is reset all weights.
I'm applying patch for this extra check. - Status changed to RTBC
over 1 year ago 10:18am 14 December 2023 - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 6 pass, 2 fail - 🇧🇪Belgium kriboogh
Can confirm that #11 works. (user only having order terms permission now sees the table drag features).
The last submitted patch, 11: 2958658-reorder-terms-10.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- Merge request !11Issue #2958658: Added better handling of reset and order permissions. → (Open) created by kriboogh
- last update
over 1 year ago 6 pass, 1 fail - Status changed to Needs review
over 1 year ago 10:48am 14 December 2023 - last update
over 1 year ago 6 pass, 1 fail - 🇧🇪Belgium kriboogh
The reset button was still visible if a user had reorder permissions but no reset permissions. The merge request fixes this.
(Added patch of MR11 for secure use in composer). The last submitted patch, 15: 2958658-15-permission-reorder-terms-11.diff, failed testing. View results →
- Status changed to Needs work
over 1 year ago 8:02am 18 December 2023 - last update
over 1 year ago 6 pass, 1 fail - Status changed to Needs review
5 days ago 4:08am 11 April 2025 - 🇦🇺Australia darvanen Sydney, Australia
- 🇩🇪Germany FeyP
Thanks for taking a look at this longstanding issue. We have since added a Gitlab pipeline and would require this to run so that we can see if the tests pass. So the MR needs a rebase to the latest code base before it can go into review again. Setting to Needs work for that. Note for anyone who wants to take a look at this: Please do not merge, but rebase! There is good documentation on drupal.org on how to do this, if you are not sure. Thanks again.
- 🇦🇺Australia darvanen Sydney, Australia
darvanen → changed the visibility of the branch 2958658-permission-reorder-terms to hidden.
- 🇦🇺Australia darvanen Sydney, Australia
darvanen → changed the visibility of the branch 2958658-permission-reorder-terms to active.
- 🇦🇺Australia darvanen Sydney, Australia
Oh I didn't realise, I should have checked the home page, thanks for that, I've rebased.
- 🇦🇺Australia darvanen Sydney, Australia
Fixed the phpcs failure but this definitely needs work on tests, don't have time for that at the moment.