"As a model manager I can delete a property group definition if it is in the DRAFT, DEPLOYED or PURGED states" so that it no longer appears in the list of Property Groups"
- It is not possible to delete an ACTIVE Property Group (as this means that it will be currently applied to existing nodes). In order to delete an ACTIVE Property Group it will be necessary to get an (overall) Admin to PURGE the Property Groups
- We will need to perform a DB query to check that the Property Group is not in use (a Solr search will not be sufficient due to eventual consistency).
- We will need to make a decision on whether or not to run the query for each Property Group to determine whether or not to show a delete action when the list is displayed - although since the information will immediately become stale it probably makes more sense to have a separate query to show deletable Property Groups and then run the DB query again when a delete action is performed
I'm wondering if we need a "disable group" capability so that a group can no longer be applied to documents, but can be viewed/searched or just hidden from the UI completely (so we don't have to remove all the properties)??