From a9578523c3faadff3c6e053afe2a95d153efa82d Mon Sep 17 00:00:00 2001 From: Vladyslav Prykhodko Date: Wed, 2 Dec 2026 21:39:18 +0200 Subject: [PATCH 1/2] Fixed the Audit logs tab of a tenant administrator failing with 403 for a system administrator (#16867) --- ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html b/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html index c80a7ce0de..8161df7809 100644 --- a/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html +++ b/ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html @@ -39,7 +39,7 @@ @if (entity && (resource.AUDIT_LOG | hasGenericPermission: operation.READ)) { - + } @if (entity && (resource.API_KEY | hasGenericPermission: operation.READ)) { From 7949e1dacf97b0ae7585e5e93c21de87f1e80604 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Thu, 3 Dec 2026 10:20:14 +0100 Subject: [PATCH 2/2] Fixed missing required markers and validation errors for empty topic filters and metadata fields in integration settings (#16709) * Added required markers and validation errors to MQTT integration topic and key/value inputs * Fixed PR comments * Added required errors to all integration key/value lists, accessible names to topic filter inputs and single-line errors on narrow screens --- .../http-integration-form.component.html | 1 + .../kafka-integration-form.component.html | 2 +- .../kpn-integration-form.component.html | 5 +++-- .../loriot-integration-form.component.html | 1 + .../particle-integration-form.component.html | 1 + .../mqtt-topic-filters.component.html | 11 ++++++++--- .../wizard/integration-wizard-dialog.component.html | 2 +- .../home/pages/integration/integration.component.html | 2 +- .../src/app/shared/components/kv-map.component.html | 10 ++++++++-- ui-ngx/src/app/shared/components/kv-map.component.ts | 2 ++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 ++ 11 files changed, 29 insertions(+), 10 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html index c4e619d4c8..73c925c244 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/http-integration-form/http-integration-form.component.html @@ -50,6 +50,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html index 1912f968fd..2a45f8f15a 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kafka-integration-form/kafka-integration-form.component.html @@ -73,7 +73,7 @@
integration.other-properties - +
diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html index ffe43c2556..1d314e8ba9 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html @@ -62,8 +62,9 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" - appearance="outline" - formControlName="additionalHeadersFilter"> + showRequiredErrors + appearance="outline" + formControlName="additionalHeadersFilter"> @if (kpnIntegrationConfigForm.get('additionalHeadersFilter').hasError('securityHeaderDuplicate')) { {{ 'integration.kpn-security-header-duplicate' | translate }} diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html index 19e59a1698..37dca8e8c9 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/loriot-integration-form/loriot-integration-form.component.html @@ -122,6 +122,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html index 3aa913d9e5..5f0d54dda8 100644 --- a/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/configuration/particle-integration-form/particle-integration-form.component.html @@ -67,6 +67,7 @@ noDataText="integration.no-headers-filter" keyPlaceholderText="integration.header" isStrokedButton="true" + showRequiredErrors appearance="outline" formControlName="headersFilter"> diff --git a/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html b/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html index 7dc4ab6015..2f5ddbe7a6 100644 --- a/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html +++ b/ui-ngx/src/app/modules/home/components/integration/mqtt-topic-filters/mqtt-topic-filters.component.html @@ -10,17 +10,22 @@ @for (topicFilter of mqttFiltersFromArray.controls; track topicFilter; let i = $index) {
- + @if (i === 0) { {{"integration.topic" | translate }} } - + + @if (topicFilter.get('filter').hasError('required')) { + integration.topics-required + } @if (i === 0) { {{"integration.mqtt-qos" | translate }} } - + @for (mqttQoS of mqttQosTypes; track mqttQoS) { {{ mqttQoS }} - {{ getMqttQosTranslation(mqttQoS) | translate}} diff --git a/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html b/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html index c210b855ff..f74ab22105 100644 --- a/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/wizard/integration-wizard-dialog.component.html @@ -177,7 +177,7 @@
integration.metadata - +
diff --git a/ui-ngx/src/app/modules/home/pages/integration/integration.component.html b/ui-ngx/src/app/modules/home/pages/integration/integration.component.html index 5bb051165f..90e6d22486 100644 --- a/ui-ngx/src/app/modules/home/pages/integration/integration.component.html +++ b/ui-ngx/src/app/modules/home/pages/integration/integration.component.html @@ -115,7 +115,7 @@
integration.metadata - +
diff --git a/ui-ngx/src/app/shared/components/kv-map.component.html b/ui-ngx/src/app/shared/components/kv-map.component.html index e900b466cb..882c92f630 100644 --- a/ui-ngx/src/app/shared/components/kv-map.component.html +++ b/ui-ngx/src/app/shared/components/kv-map.component.html @@ -11,11 +11,17 @@
+ placeholder="{{ (keyPlaceholderText ? keyPlaceholderText : 'key-val.key') | translate }}{{ showRequiredErrors ? '*' : '' }}"/> + @if (showRequiredErrors && keyValControl.get('key').hasError('required')) { + key-val.key-required + } + placeholder="{{ (valuePlaceholderText ? valuePlaceholderText : 'key-val.value') | translate }}{{ showRequiredErrors && isValueRequired ? '*' : '' }}"/> + @if (showRequiredErrors && keyValControl.get('value').hasError('required')) { + key-val.value-required + }