Original commit3b59d3ee9a
Breaking commit32e25ce129
The breaking commit was actually meant to remove the need for this hook logic entirely, by relying on a custom validator instead. This works for nodes, but it currently does not work for projects. The issue needs to be further investigated via T63006.