When modifying a term we should check if the node_access requires updating

Created on 19 November 2024, 3 months ago

When we edit a term, we also trigger a batch operation to recalculate the access rights of any node connected that has the term.

However, we do it for all changes of the term (including the term name, weight, etc) so we end up doing this operation way more than needed.

We should instead detect, when a term is being changed, that the change is relevant for the access control, and only then trigger the batch operation.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇮Finland vermario

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024