Permission edit_discovered_hosts interfere with edit_hosts
|Triaged:||Fixed in Releases:|
|Bugzilla link:||Found in Releases:|
Method Authorizable#permission_name does not work with edit_discovered_hosts and will break core tests, because it expects to find "edit_hosts" while it pulls "edit_discovered_hosts". This fails randomly because it depends on SQL result order which is random.