Commit Graph

3 Commits

Author SHA1 Message Date
Eric Lippmann db97470a48 Fix host templates not usable with hostgroup restrictions
Before, for new hosts the code checked whether the host is part of any
restricted hostgroup only if the host's groups got modified directly.
I honestly don't know how that should be possible, since one can't add
host groups directly if restricted.
Now, for new hosts the code checks whether the resolved host groups
match at least one of the restricted host groups.
2020-03-20 10:32:22 +01:00
Thomas Gelf 473bbd40c4 IcingaHostForm: fix premission checks on new Hosts
refs #1451
2018-03-29 16:46:41 +02:00
Thomas Gelf 28f0a2cb05 HostgroupRestriction: new class 2017-07-14 13:21:42 +02:00