Two safeguards would be helpful when creating new bundles (or changing the status of bundles) in active admin:
  • Only one bundle should be allowed to have a published status linked to a single jurisdiction. If we try to add a published bundle to a jurisdiction that already has one, there should be an error
  • The number of credits set should match the number of courses added. If they don't match, there should be an error and the bundle creation should be blocked
These are not high priority because we don't expect to do much in terms of new bundles moving forward. But they'd align with how bundles are expected to work at this point.