HostController.find_by_name needs refactoring
Fixed in Releases:
Found in Releases:
Presently this method makes unnecessary checks for permissions (which could be handled by scope) and restricts itself to Host::Managed which can break Discovery. This should also be refactored to allow additional ways of finding a host.