Commit graph

7 commits

Author SHA1 Message Date
Eric Lippmann
272e791390 License source files as GPL-3.0-or-later
Add SPDX license headers and mark source files as GPL-3.0-or-later to
preserve the option to relicense under later GPL versions.
2026-03-11 14:03:05 +01:00
Johannes Meyer
5e982dad40
Merge commit from fork
* Auth: Add method `assertColumnRestrictions`

* ObjectSuggestions: Do not suggest protected variables

`assertColumnRestrictions` does not allow to use them
anymore, hence we should not suggest them in searches
as well to not to let the user run into an error by
accepting a suggestion. Though, when fetching values
as well, we still have to obfuscate, otherwise protected
vars won't show up in details anymore.

* Introduce Icinga\Module\Icingadb\Common\Model

Must be used as base for all models, to ensure
column restrictions are asserted on filters.

* Utilize `Icinga\Module\Icingadb\Common\Model` where applicable
2025-10-16 08:42:51 +02:00
Johannes Meyer
8e5a8161f4 DependencyEdge: Add column id and make it the pk 2025-01-15 13:15:20 +01:00
raviks789
46577ff26b Add column environment_id to the models related to the dependency feature 2025-01-14 11:43:12 +01:00
Johannes Meyer
945eb5f9ae db: Update models to reflect latest schema updates 2024-12-17 17:50:42 +01:00
Johannes Meyer
56180b4ae8 db: Cleanup parent/child relations in matching models
The previous relations didn't work as expected.
Now, filtering with `child.host.name` or
`parent.service.name` works fine.
2024-10-08 16:30:04 +02:00
Johannes Meyer
f88a6c5195 db: Add model for table dependency_edge 2024-10-08 16:30:04 +02:00