Open swirtSJW opened 1 year ago
Very much in favor of the first approach:
Entity validation on save: Entity validation is the safest as it will stop it at the time of save and be able to handle a nice error message. It would safely account for any services that were saved in other tabs after the facility form was opened.
I do not think this should be solved via Content Moderation.
Use cases:
Because of these (and potentially other use cases) we will want to consider whether or not associated services should be a requirement for publishing.
User Story or Problem Statement
As a a facility editor I should be prevented from publishing a facility that requires services, when it has no services assigned so that I do not create a bad Veteran experience.
This applies to
Approaches:
Neither of these approaches will remove the risk of a Bulk operation of publish. Bulk operations do not follow entity validation.
Acceptance Criteria
Implementation steps