8 Commits

Author SHA1 Message Date
Thomas Gelf
6178265a12 HostgroupRestriction: pass fitting table alias
fixes #2164
fixes #2809
2023-10-11 11:37:21 +02:00
EmTeedee
6b7bff80de ${var} deprecated in favor of {$var}
See: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation
2023-07-19 10:44:40 +02:00
Thomas Gelf
40254714b8 Permissions: refactor, fix monitoring module checks
fixes #2712
2023-02-23 11:51:53 +01:00
Thomas Gelf
b12d50a16a HostgroupRestriction: do not fail on hosts w/o ID 2021-10-05 23:33:30 +02:00
Thomas Gelf
f397894149 IcingaHostForm: optionally allow restricted...
...users to set group membership. Permissions are still enforced, but all
available groups are shown

fixes #2252
2020-12-15 14:34:26 +01:00
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