Commit graph

10 commits

Author SHA1 Message Date
raviks789
b4f2a44f62 HostgroupRestriction: Allow creation of hosts if they match restricted groups filter
Some checks failed
L10n Update / update (push) Has been cancelled
PHP Tests / Static analysis for php 7.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 7.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 7.4 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.0 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.1 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Has been cancelled
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Has been cancelled
2026-02-11 17:02:50 +01:00
raviks789
5f43bf70aa Show only applied groups in Icinga Host Form
Some checks are pending
L10n Update / update (push) Waiting to run
PHP Tests / Static analysis for php 7.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 7.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 7.4 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.0 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.1 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Static analysis for php 8.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 7.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 7.3 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 7.4 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.0 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.1 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.2 on ubuntu-latest (push) Waiting to run
PHP Tests / Unit tests with php 8.3 on ubuntu-latest (push) Waiting to run
2026-02-03 10:14:58 +01:00
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