silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 91 forks source link

Combine `ModelAdmin` and `HierarchyModelAdmin` #1766

Open GuySartorelli opened 1 month ago

GuySartorelli commented 1 month ago

After https://github.com/silverstripe/silverstripe-cms/issues/2951 is done, we'll be able to manage any arbitrary hierarchical model class in a tree structure - but each model class must have its own admin section.

There are cases, such as with silverstripe/taxonomy, where related classes should be managed in different ways. In the case of siverstripe/taxonomy, the TaxonomyTerm class should be managed as a tree, but TaxonomyType should be managed in a gridfield. But they should be in a shared admin section.

Related

Acceptance criteria