Univention Bugzilla – Bug 55341
make it possible to disable UDM Monitoring UMC Flavor
Last modified: 2022-11-09 17:41:36 CET
The UMC Flavor "monitoring/alert" can't be disabled via ACL's currently if there are other UDM-UMC modules allowed to see. This is because the flavor doesn't define any required commands to be allowed to see this module. Patch: diff --git monitoring/univention-monitoring-client/umc/udm-monitoring.xml monitoring/univention-monitoring-client/umc/udm-monitoring.xml index 29747371a7..d6d6ec5964 100644 --- monitoring/univention-monitoring-client/umc/udm-monitoring.xml +++ monitoring/univention-monitoring-client/umc/udm-monitoring.xml @@ -9,6 +9,19 @@ <categories> <category name="devices"/> </categories> + <requiredCommands> + <requiredCommand name="udm/reports/query"/> + <requiredCommand name="udm/meta_info"/> + <requiredCommand name="udm/containers"/> + <requiredCommand name="udm/types"/> + <requiredCommand name="udm/properties"/> + <requiredCommand name="udm/layout"/> + <requiredCommand name="udm/policies"/> + <requiredCommand name="udm/values"/> + <requiredCommand name="udm/query"/> + <requiredCommand name="udm/syntax/choices/info"/> + <requiredCommand name="udm/syntax/choices"/> + </requiredCommands> </flavor> </module> </umc>
The patch has been applied. Without "udm/values" as that is deprecated and unused. univention-monitoring-client.yaml 1516f0e6cf81 | chore(univention-monitoring-client): update advisory f36cc55fa0ad | fix(monitoring): restrict monitoring UMC flavor to necessary UDM commands univention-monitoring-client (1.0.0-8) f36cc55fa0ad | fix(monitoring): restrict monitoring UMC flavor to necessary UDM commands
Manual disable: OK Code review: OK YAML: OK
<https://errata.software-univention.de/#/?erratum=5.0x479>