Broken display in a hierachical taxonomy without the edit permission

Created on 28 March 2025, 6 days ago

Problem/Motivation

The terms overview page is broken when the vocabulary has a hierarchy + current user has no permission to edit terms in this vocabulary. The attached screenshots show the issue.

Steps to reproduce

  • Create a vocabulary with hierachical terms with an admin account
  • Give all permissions on that vocabulary to a contributor user except the 'edit terms' one
  • Check the terms overview => display is broken

Proposed resolution

The problem seems to come from that permission check $update_tree_access = $taxonomy_vocabulary->access('reset all weights', NULL, TRUE); that is used to add the tabledrag data.

I feel like a user should be able to view the hierarchy even with no edit permission, but maybe I am wrong?

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

taxonomy.module

Created by

🇫🇷France kbriand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024