Refactor #8481

Updated by dalley about 1 month ago

Published Metadata inherits from Content, but are never assigned to repositories - essentially we just ignore them during orphan cleanup such that they are "leaked" forever.

This has led to workarounds needed in several places such as the universal content list in addition to orphan cleanup.

It seems that this would also mean that published metadata files are leaked forever even after their publications are destroyed.

That is... not great. We should investigate ways to improve this situation. architecture.