Unable to set HostGroup content source to capsule that isn't synced
Description of problem:
Error attempting to set the "Content Source" Capsule to a capsule that does not have the LifeCycle environment promoted to it.
"Failed to save: The selected content source and lifecycle environment do not match"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a Lifecycle Environment that does not have Content Promoted to it.
2. Set a Host group to use that Lifecycle Enviornment
3. Select a Content Source capsule from the dropdown that does not have that Lifecycle environment content synced.
Error: "Unable to save: The selected content source and lifecycle environment do not match"
Ability to set the content source as the capsule.
This worked prior to Katello 3.7, and this new validation only appears to be for the hostgroup. An individual host can have the "Content Source" capsule set to a value that does not match the Lifecycle Environment, but a hostgroup cannot for some reason.