AuthSource subclasses may be inherited, leading scopes to return unexpected results - for example, AuthSource.except_hidden returned auth sources that inherited the AuthSourceHidden class. The scopes have been modified to also take into account the descendants of the various types.
Related issues
Bug #30643: ForemanVirtWhoConfigure::AuthSourceHiddenWithAuthentication is displayed on auth sources page
Fixes #30643 - Allow inheriting auth source classes (#7905)
AuthSource subclasses may be inherited, leading scopes to return
unexpected results - for example, AuthSource.except_hidden returned auth
sources that inherited the AuthSourceHidden class. The scopes have been
modified to also take into account the descendants of the various types.