@c8y/ng1-modules 1019.24.0 → 1019.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/administration-alarmMapping/views/index.html +2 -2
- package/administration-deviceUsers/controllers/deviceUserDetail.js +1 -1
- package/administration-deviceUsers/views/detail.html +1 -1
- package/core/locales/de.po +17 -2
- package/core/locales/en.po +21 -2
- package/core/locales/es.po +17 -2
- package/core/locales/fr.po +17 -2
- package/core/locales/ja_JP.po +17 -2
- package/core/locales/nl.po +17 -2
- package/core/locales/pl.po +17 -2
- package/core/locales/pt_BR.po +17 -2
- package/core/ui/itemSelector/itemSelector.component.js +1 -1
- package/core/ui/itemSelector/itemSelector.html +2 -2
- package/package.json +1 -1
- package/roles/detail/roleDetailGlobal.component.js +1 -1
- package/roles/detail/roleDetailGlobal.html +1 -1
- package/roles/detail/roleDetailInventory.component.js +1 -1
- package/roles/detail/roleDetailInventory.html +1 -1
- package/roles/detail/roleGlobalSaveConfirm.html +1 -1
- package/roles/list/rolesList.component.js +1 -1
- package/roles/list/rolesList.html +2 -2
- package/simulators/list/list.html +1 -1
- package/users/userDetailView/userDetailView.component.js +1 -1
- package/users/userDetailView/userDetailView.html +2 -2
|
@@ -255,9 +255,9 @@
|
|
|
255
255
|
</div>
|
|
256
256
|
<span
|
|
257
257
|
class="text-lowercase"
|
|
258
|
-
title="{{ option.severity | translate }}"
|
|
258
|
+
title="{{ severities[option.severity].label | translate }}"
|
|
259
259
|
>
|
|
260
|
-
{{ option.severity | translate }}
|
|
260
|
+
{{ severities[option.severity].label | translate }}
|
|
261
261
|
</span>
|
|
262
262
|
</div>
|
|
263
263
|
<div class="col-2 text-right showOnHover hidden-xs">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(s,e,
|
|
1
|
+
"use strict";!function(){function e(s,e,r,n,a,i,t,o,c,u,d,l,p,g){var f=e.userId,h={PATTERN:{type:"pattern",text:l.validation.password.message},PASSWORD_MISSMATCH:{type:"password_missmatch",text:u("Password confirmation does not match.")},REQUIRED:{type:"required",text:u("This field is required.")},EMAIL:{type:"email",text:u("Invalid email address.")}};function m(e){a.checkIfCurrent(e).then(function(e){s.isCurrent=e}),s.user=e,s._groups={},(e.groups&&e.groups.references||[]).forEach(function(e){e=e.group.id;s._groups[e]=!0}),s.showPassword=!e.id,s.changePasswordBtn=!s.showPassword,delete s.confirmPassword}function v(e){s.groups=e}function w(){f?a.detail(f).then(function(e){return e.data}).then(m):m({enabled:s.isNew=!0})}s.saving=!1,s.passwordRegex=l.validation.password.pattern,s.cancel=function(){r.path("/deviceusers")},s.save=function(e){if(s.saving=!0,s.userForm.$valid){var r=_.keys(s._groups).filter(function(e){return s._groups[e]}).map(function(e){return parseInt(e,10)});try{var t=a.save(e,s.password.currentPassword).then(function(e){e=e.data;return f=e.userName,e.id=f,e}).then(function(e){return i.updateGroups(e,r)}).then(p.triggerEvent("dmCredentialManagement",{action:"assignRole",name:"role"})).then(angular.bind({},w)).then(_.partial(o.success,u("Device updated.")));t.finally(function(){s.saving=!1}),t.then(function(){n.history.back()})}catch(e){o.danger(e.message),s.saving=!1}}},s.confirmPassword="",s.password={},s.invalid=angular.bind(t,t.invalid,s,"userForm"),s.changePasswordConfirm=function(e){s.userForm.confirmPassword.$setValidity(h.PASSWORD_MISSMATCH.type,e===s.user.password)},s.$watch("user.userName",function(e){e&&c.changeTitle({title:e},{skipTitleTranslation:!0})}),s.getErrorFeedback=function(e){var t=s.userForm[e]||{},n=[];return _.forEach(t.$error||{},function(e,r){e&&!t.$pristine&&n.push(d.getString(h[r.toUpperCase()].text))}),n.join(" ")},s.getGroupName=g.getName,w(),i.list(void 0).then(v)}e.$inject=["$scope","$routeParams","$location","$window","c8yUser","c8yUserGroup","c8yBase","c8yAlert","c8yTitle","gettext","gettextCatalog","c8yConfig","c8yGainsightService","c8yPropertyValueTransformService"],angular.module("c8y.parts.deviceUsers").controller("deviceUserDetailCtrl",e)}();
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
</div>
|
|
151
151
|
<div class="c8y-list__item__body">
|
|
152
152
|
<label for="{{ 'groupcheckbox' + $index }}" class="text-normal">
|
|
153
|
-
{{::group
|
|
153
|
+
{{::getGroupName(group) | translate}}
|
|
154
154
|
</label>
|
|
155
155
|
<p class="small text-muted">{{::group.description | translate}}</p>
|
|
156
156
|
</div>
|
package/core/locales/de.po
CHANGED
|
@@ -1099,6 +1099,9 @@ msgstr "Admin"
|
|
|
1099
1099
|
msgid "Admin API version"
|
|
1100
1100
|
msgstr "Admin-API-version"
|
|
1101
1101
|
|
|
1102
|
+
msgid "Admin User`role`"
|
|
1103
|
+
msgstr "Administrator-Nutzer"
|
|
1104
|
+
|
|
1102
1105
|
msgid "Administration"
|
|
1103
1106
|
msgstr "Administration"
|
|
1104
1107
|
|
|
@@ -1636,6 +1639,9 @@ msgstr "Aufsteigend"
|
|
|
1636
1639
|
msgid "Asset"
|
|
1637
1640
|
msgstr "Asset"
|
|
1638
1641
|
|
|
1642
|
+
msgid "Asset Manager`role`"
|
|
1643
|
+
msgstr "Asset-Manager"
|
|
1644
|
+
|
|
1639
1645
|
msgid "Asset notes"
|
|
1640
1646
|
msgstr "Asset-Anmerkungen"
|
|
1641
1647
|
|
|
@@ -2136,6 +2142,9 @@ msgstr "Bulk-Operationen werden hier angezeigt"
|
|
|
2136
2142
|
msgid "Bulk registration"
|
|
2137
2143
|
msgstr "Bulk-Registrierung"
|
|
2138
2144
|
|
|
2145
|
+
msgid "Business User`role`"
|
|
2146
|
+
msgstr "Geschäftlicher Benutzer"
|
|
2147
|
+
|
|
2139
2148
|
msgid "Business rules"
|
|
2140
2149
|
msgstr "Geschäftsregeln"
|
|
2141
2150
|
|
|
@@ -4720,6 +4729,9 @@ msgstr "Geräteinformation"
|
|
|
4720
4729
|
msgid "Device Management User"
|
|
4721
4730
|
msgstr "Device Management-Nutzer"
|
|
4722
4731
|
|
|
4732
|
+
msgid "Device User`role`"
|
|
4733
|
+
msgstr "Gerätebenutzer"
|
|
4734
|
+
|
|
4723
4735
|
msgid "Device added to group"
|
|
4724
4736
|
msgstr "Gerät zu Gruppe hinzugefügt."
|
|
4725
4737
|
|
|
@@ -5763,10 +5775,10 @@ msgid "Escalation steps"
|
|
|
5763
5775
|
msgstr "Eskalationsschritte"
|
|
5764
5776
|
|
|
5765
5777
|
msgid ""
|
|
5766
|
-
"Especially changing the global role \"
|
|
5778
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5767
5779
|
" device is compromised, attackers might have extended access to the platform."
|
|
5768
5780
|
msgstr ""
|
|
5769
|
-
"Insbesondere Änderungen in der globalen Rolle \"
|
|
5781
|
+
"Insbesondere Änderungen in der globalen Rolle \"Gerätebenutzer\" können zu einer Sicherheitslücke führen.\n"
|
|
5770
5782
|
" Wenn z. B. die Sicherheit eines Geräts beeinträchtigt ist, könnten Angreifer erweiterten Zugriff auf die Plattform erhalten."
|
|
5771
5783
|
|
|
5772
5784
|
msgid "Event"
|
|
@@ -11517,6 +11529,9 @@ msgstr "Lese- und Schreibzugriff auf Prozessausgabe"
|
|
|
11517
11529
|
msgid "Reader"
|
|
11518
11530
|
msgstr "Leser"
|
|
11519
11531
|
|
|
11532
|
+
msgid "Reader User`role`"
|
|
11533
|
+
msgstr "Leser-Benutzer"
|
|
11534
|
+
|
|
11520
11535
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11521
11536
|
msgstr "Readiness-Probe fehlgeschlagen: {{requestMethod}} {{uri}}: {{protocol}}: Anfrage während des Verbindungsaufbaus abgebrochen (Client.Timeout beim Warten auf Header überschritten)."
|
|
11522
11537
|
|
package/core/locales/en.po
CHANGED
|
@@ -95,6 +95,9 @@ msgstr "Add next"
|
|
|
95
95
|
msgid "Add next`value`"
|
|
96
96
|
msgstr "Add next"
|
|
97
97
|
|
|
98
|
+
msgid "Admin User`role`"
|
|
99
|
+
msgstr "Admin User"
|
|
100
|
+
|
|
98
101
|
msgid "All children active`assets`"
|
|
99
102
|
msgstr "All children active"
|
|
100
103
|
|
|
@@ -116,6 +119,9 @@ msgstr "Apply"
|
|
|
116
119
|
msgid "Arrow`icons-category`"
|
|
117
120
|
msgstr "Arrow"
|
|
118
121
|
|
|
122
|
+
msgid "Asset Manager`role`"
|
|
123
|
+
msgstr "Asset Manager"
|
|
124
|
+
|
|
119
125
|
msgid "Availability`of dashboard based on permissions`"
|
|
120
126
|
msgstr "Availability"
|
|
121
127
|
|
|
@@ -134,6 +140,9 @@ msgstr "Branded"
|
|
|
134
140
|
msgid "Branded`theme`"
|
|
135
141
|
msgstr "Branded"
|
|
136
142
|
|
|
143
|
+
msgid "Business User`role`"
|
|
144
|
+
msgstr "Business User"
|
|
145
|
+
|
|
137
146
|
msgid "By`user`"
|
|
138
147
|
msgstr "By"
|
|
139
148
|
|
|
@@ -248,8 +257,8 @@ msgstr "Delete"
|
|
|
248
257
|
msgid "Delete`tenant`"
|
|
249
258
|
msgstr "Delete"
|
|
250
259
|
|
|
251
|
-
msgid "Device
|
|
252
|
-
msgstr "Device
|
|
260
|
+
msgid "Device User`role`"
|
|
261
|
+
msgstr "Device User"
|
|
253
262
|
|
|
254
263
|
msgid "Devices and sensors`icons-category`"
|
|
255
264
|
msgstr "Devices and sensors"
|
|
@@ -293,6 +302,13 @@ msgstr "Enabled"
|
|
|
293
302
|
msgid "Enabled`trusted certificate status`"
|
|
294
303
|
msgstr "Enabled"
|
|
295
304
|
|
|
305
|
+
msgid ""
|
|
306
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
307
|
+
" device is compromised, attackers might have extended access to the platform."
|
|
308
|
+
msgstr ""
|
|
309
|
+
"Especially changing the global role \"Device User\" can lead to a security hole, for example, if a\n"
|
|
310
|
+
" device is compromised, attackers might have extended access to the platform."
|
|
311
|
+
|
|
296
312
|
msgid "External`application`"
|
|
297
313
|
msgstr "External"
|
|
298
314
|
|
|
@@ -507,6 +523,9 @@ msgstr "REVOKED"
|
|
|
507
523
|
msgid "Rates`time intervals`"
|
|
508
524
|
msgstr "Rates"
|
|
509
525
|
|
|
526
|
+
msgid "Reader User`role`"
|
|
527
|
+
msgstr "Reader User"
|
|
528
|
+
|
|
510
529
|
msgid "Reboot`verb`"
|
|
511
530
|
msgstr "Reboot"
|
|
512
531
|
|
package/core/locales/es.po
CHANGED
|
@@ -1101,6 +1101,9 @@ msgstr "Administrador"
|
|
|
1101
1101
|
msgid "Admin API version"
|
|
1102
1102
|
msgstr "Versión de Admin API"
|
|
1103
1103
|
|
|
1104
|
+
msgid "Admin User`role`"
|
|
1105
|
+
msgstr "Usuario administrador"
|
|
1106
|
+
|
|
1104
1107
|
msgid "Administration"
|
|
1105
1108
|
msgstr "Administration"
|
|
1106
1109
|
|
|
@@ -1640,6 +1643,9 @@ msgstr "Ascendente"
|
|
|
1640
1643
|
msgid "Asset"
|
|
1641
1644
|
msgstr "Activo"
|
|
1642
1645
|
|
|
1646
|
+
msgid "Asset Manager`role`"
|
|
1647
|
+
msgstr "Gestor de activos"
|
|
1648
|
+
|
|
1643
1649
|
msgid "Asset notes"
|
|
1644
1650
|
msgstr "Notas de activo"
|
|
1645
1651
|
|
|
@@ -2140,6 +2146,9 @@ msgstr "Las operaciones en masa se mostrarán aquí"
|
|
|
2140
2146
|
msgid "Bulk registration"
|
|
2141
2147
|
msgstr "Registro masivo"
|
|
2142
2148
|
|
|
2149
|
+
msgid "Business User`role`"
|
|
2150
|
+
msgstr "Usuario empresarial"
|
|
2151
|
+
|
|
2143
2152
|
msgid "Business rules"
|
|
2144
2153
|
msgstr "Reglas de negocio"
|
|
2145
2154
|
|
|
@@ -4730,6 +4739,9 @@ msgstr "Información de dispositivo"
|
|
|
4730
4739
|
msgid "Device Management User"
|
|
4731
4740
|
msgstr "Usuario de Device management"
|
|
4732
4741
|
|
|
4742
|
+
msgid "Device User`role`"
|
|
4743
|
+
msgstr "Usuario del dispositivo"
|
|
4744
|
+
|
|
4733
4745
|
msgid "Device added to group"
|
|
4734
4746
|
msgstr "Dispositivo agregado al grupo"
|
|
4735
4747
|
|
|
@@ -5773,10 +5785,10 @@ msgid "Escalation steps"
|
|
|
5773
5785
|
msgstr "Pasos de escalamiento"
|
|
5774
5786
|
|
|
5775
5787
|
msgid ""
|
|
5776
|
-
"Especially changing the global role \"
|
|
5788
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5777
5789
|
" device is compromised, attackers might have extended access to the platform."
|
|
5778
5790
|
msgstr ""
|
|
5779
|
-
"En particular, cambiar el rol global \"
|
|
5791
|
+
"En particular, cambiar el rol global \"Usuario del dispositivo\" puede crear una brecha de seguridad. P. ej., si un dispositivo\n"
|
|
5780
5792
|
" queda expuesto, los atacantes pueden tener mayor acceso a la plataforma."
|
|
5781
5793
|
|
|
5782
5794
|
msgid "Event"
|
|
@@ -11547,6 +11559,9 @@ msgstr "Lectura y escritura en salida de proceso"
|
|
|
11547
11559
|
msgid "Reader"
|
|
11548
11560
|
msgstr "Lector"
|
|
11549
11561
|
|
|
11562
|
+
msgid "Reader User`role`"
|
|
11563
|
+
msgstr "Usuario lector"
|
|
11564
|
+
|
|
11550
11565
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11551
11566
|
msgstr "El sondeo de preparación no ha podido efectuarse: {{requestMethod}} {{uri}}: {{protocol}}. La solicitud se ha cancelado mientras se esperaba la conexión (Client.Timeout sobrepasado mientras a espera de los encabezados)."
|
|
11552
11567
|
|
package/core/locales/fr.po
CHANGED
|
@@ -1101,6 +1101,9 @@ msgstr "Administrateur"
|
|
|
1101
1101
|
msgid "Admin API version"
|
|
1102
1102
|
msgstr "Version API Admin"
|
|
1103
1103
|
|
|
1104
|
+
msgid "Admin User`role`"
|
|
1105
|
+
msgstr "Utilisateur Admin"
|
|
1106
|
+
|
|
1104
1107
|
msgid "Administration"
|
|
1105
1108
|
msgstr "Administration"
|
|
1106
1109
|
|
|
@@ -1640,6 +1643,9 @@ msgstr "Croissant"
|
|
|
1640
1643
|
msgid "Asset"
|
|
1641
1644
|
msgstr "Actif"
|
|
1642
1645
|
|
|
1646
|
+
msgid "Asset Manager`role`"
|
|
1647
|
+
msgstr "Gestionnaire d'actifs"
|
|
1648
|
+
|
|
1643
1649
|
msgid "Asset notes"
|
|
1644
1650
|
msgstr "Notes de l'actif"
|
|
1645
1651
|
|
|
@@ -2140,6 +2146,9 @@ msgstr "Les opérations en masse seront affichées ici"
|
|
|
2140
2146
|
msgid "Bulk registration"
|
|
2141
2147
|
msgstr "Enregistrement en masse"
|
|
2142
2148
|
|
|
2149
|
+
msgid "Business User`role`"
|
|
2150
|
+
msgstr "Utilisateur professionnel"
|
|
2151
|
+
|
|
2143
2152
|
msgid "Business rules"
|
|
2144
2153
|
msgstr "Règles de conduite"
|
|
2145
2154
|
|
|
@@ -4730,6 +4739,9 @@ msgstr "Informations sur l'appareil"
|
|
|
4730
4739
|
msgid "Device Management User"
|
|
4731
4740
|
msgstr "Utilisateur de la gestion des utilisateurs"
|
|
4732
4741
|
|
|
4742
|
+
msgid "Device User`role`"
|
|
4743
|
+
msgstr "Utilisateur de l'appareil"
|
|
4744
|
+
|
|
4733
4745
|
msgid "Device added to group"
|
|
4734
4746
|
msgstr "Appareil ajouté au groupe"
|
|
4735
4747
|
|
|
@@ -5773,10 +5785,10 @@ msgid "Escalation steps"
|
|
|
5773
5785
|
msgstr "Étapes de l'escalade"
|
|
5774
5786
|
|
|
5775
5787
|
msgid ""
|
|
5776
|
-
"Especially changing the global role \"
|
|
5788
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5777
5789
|
" device is compromised, attackers might have extended access to the platform."
|
|
5778
5790
|
msgstr ""
|
|
5779
|
-
"La modification du rôle global \"
|
|
5791
|
+
"La modification du rôle global \"Utilisateur de l'appareil\" peut particulièrement entraîner une faille de sécurité, par exemple si\n"
|
|
5780
5792
|
" un appareil est compromis, des personnes malveillantes peuvent avoir un accès étendu à la plateforme."
|
|
5781
5793
|
|
|
5782
5794
|
msgid "Event"
|
|
@@ -11547,6 +11559,9 @@ msgstr "Lecture-écriture sur la sortie de processus"
|
|
|
11547
11559
|
msgid "Reader"
|
|
11548
11560
|
msgstr "Lecteur"
|
|
11549
11561
|
|
|
11562
|
+
msgid "Reader User`role`"
|
|
11563
|
+
msgstr "Lecteur Utilisateur"
|
|
11564
|
+
|
|
11550
11565
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11551
11566
|
msgstr "Échec de la sonde de disponibilité : {{requestMethod}} {{uri}}: {{protocol}}: la requête a été annulée pendant l'attente de la connexion (Client.Timeout dépassé lors de l'attente des en-têtes)."
|
|
11552
11567
|
|
package/core/locales/ja_JP.po
CHANGED
|
@@ -1081,6 +1081,9 @@ msgstr "管理者"
|
|
|
1081
1081
|
msgid "Admin API version"
|
|
1082
1082
|
msgstr "管理 API バージョン"
|
|
1083
1083
|
|
|
1084
|
+
msgid "Admin User`role`"
|
|
1085
|
+
msgstr "管理者ユーザー"
|
|
1086
|
+
|
|
1084
1087
|
msgid "Administration"
|
|
1085
1088
|
msgstr "管理"
|
|
1086
1089
|
|
|
@@ -1619,6 +1622,9 @@ msgstr "昇順"
|
|
|
1619
1622
|
msgid "Asset"
|
|
1620
1623
|
msgstr "アセット"
|
|
1621
1624
|
|
|
1625
|
+
msgid "Asset Manager`role`"
|
|
1626
|
+
msgstr "アセットマネージャー"
|
|
1627
|
+
|
|
1622
1628
|
msgid "Asset notes"
|
|
1623
1629
|
msgstr "アセット注記"
|
|
1624
1630
|
|
|
@@ -2117,6 +2123,9 @@ msgstr "一括操作はここに表示されます"
|
|
|
2117
2123
|
msgid "Bulk registration"
|
|
2118
2124
|
msgstr "一括登録"
|
|
2119
2125
|
|
|
2126
|
+
msgid "Business User`role`"
|
|
2127
|
+
msgstr "ビジネスユーザー"
|
|
2128
|
+
|
|
2120
2129
|
msgid "Business rules"
|
|
2121
2130
|
msgstr "ビジネス ルール"
|
|
2122
2131
|
|
|
@@ -4703,6 +4712,9 @@ msgstr "デバイス情報"
|
|
|
4703
4712
|
msgid "Device Management User"
|
|
4704
4713
|
msgstr "デバイス管理ユーザー"
|
|
4705
4714
|
|
|
4715
|
+
msgid "Device User`role`"
|
|
4716
|
+
msgstr "デバイスユーザー"
|
|
4717
|
+
|
|
4706
4718
|
msgid "Device added to group"
|
|
4707
4719
|
msgstr "グループに追加されたデバイス"
|
|
4708
4720
|
|
|
@@ -5760,10 +5772,10 @@ msgid "Escalation steps"
|
|
|
5760
5772
|
msgstr "エスカレーション ステップ"
|
|
5761
5773
|
|
|
5762
5774
|
msgid ""
|
|
5763
|
-
"Especially changing the global role \"
|
|
5775
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5764
5776
|
" device is compromised, attackers might have extended access to the platform."
|
|
5765
5777
|
msgstr ""
|
|
5766
|
-
"
|
|
5778
|
+
"特に、グローバルロール \"デバイスユーザー\"を変更すると、セキュリティホールにつながる可能性があります。\n"
|
|
5767
5779
|
" 例えば、デバイスが攻撃された場合、攻撃者はプラットフォームへ広範にわたりアクセスできるようになる可能性があります。"
|
|
5768
5780
|
|
|
5769
5781
|
msgid "Event"
|
|
@@ -11526,6 +11538,9 @@ msgstr "プロセス出力で読み取り/書き込み"
|
|
|
11526
11538
|
msgid "Reader"
|
|
11527
11539
|
msgstr "リーダー"
|
|
11528
11540
|
|
|
11541
|
+
msgid "Reader User`role`"
|
|
11542
|
+
msgstr "リーダーユーザー"
|
|
11543
|
+
|
|
11529
11544
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11530
11545
|
msgstr "Readiness probe は失敗しました: {{requestMethod}} {{uri}}: {{protocol}}: 接続(ヘッダー待機中に Client.Timeout が超過)の待機中にリクエストがキャンセルされました。"
|
|
11531
11546
|
|
package/core/locales/nl.po
CHANGED
|
@@ -1101,6 +1101,9 @@ msgstr "Admin"
|
|
|
1101
1101
|
msgid "Admin API version"
|
|
1102
1102
|
msgstr "Beheer-API-versie"
|
|
1103
1103
|
|
|
1104
|
+
msgid "Admin User`role`"
|
|
1105
|
+
msgstr "Beheergebruiker"
|
|
1106
|
+
|
|
1104
1107
|
msgid "Administration"
|
|
1105
1108
|
msgstr "Beheer"
|
|
1106
1109
|
|
|
@@ -1640,6 +1643,9 @@ msgstr "Oplopend"
|
|
|
1640
1643
|
msgid "Asset"
|
|
1641
1644
|
msgstr "Asset"
|
|
1642
1645
|
|
|
1646
|
+
msgid "Asset Manager`role`"
|
|
1647
|
+
msgstr "Asset-beheerder"
|
|
1648
|
+
|
|
1643
1649
|
msgid "Asset notes"
|
|
1644
1650
|
msgstr "Asset-opmerkingen"
|
|
1645
1651
|
|
|
@@ -2140,6 +2146,9 @@ msgstr "Bulkbewerkingen zullen hier worden weergegeven"
|
|
|
2140
2146
|
msgid "Bulk registration"
|
|
2141
2147
|
msgstr "Bulkregistratie"
|
|
2142
2148
|
|
|
2149
|
+
msgid "Business User`role`"
|
|
2150
|
+
msgstr "Bedrijfsgebruiker"
|
|
2151
|
+
|
|
2143
2152
|
msgid "Business rules"
|
|
2144
2153
|
msgstr "Bedrijfsregels"
|
|
2145
2154
|
|
|
@@ -4730,6 +4739,9 @@ msgstr "Apparaat-info"
|
|
|
4730
4739
|
msgid "Device Management User"
|
|
4731
4740
|
msgstr "Apparaatbeheer gebruiker"
|
|
4732
4741
|
|
|
4742
|
+
msgid "Device User`role`"
|
|
4743
|
+
msgstr "Apparaatgebruiker"
|
|
4744
|
+
|
|
4733
4745
|
msgid "Device added to group"
|
|
4734
4746
|
msgstr "Apparaat toegevoegd aan groep"
|
|
4735
4747
|
|
|
@@ -5773,10 +5785,10 @@ msgid "Escalation steps"
|
|
|
5773
5785
|
msgstr "Escalatiestappen"
|
|
5774
5786
|
|
|
5775
5787
|
msgid ""
|
|
5776
|
-
"Especially changing the global role \"
|
|
5788
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5777
5789
|
" device is compromised, attackers might have extended access to the platform."
|
|
5778
5790
|
msgstr ""
|
|
5779
|
-
"Vooral als de globale rol \"
|
|
5791
|
+
"Vooral als de globale rol \"Apparaatgebruiker\" wordt gewijzigd, kan dat leiden tot een gat in de beveiliging. \n"
|
|
5780
5792
|
" Als bijvoorbeeld een apparaat is aangetast, kunnen aanvallers uitgebreide toegang tot het platform hebben."
|
|
5781
5793
|
|
|
5782
5794
|
msgid "Event"
|
|
@@ -11546,6 +11558,9 @@ msgstr "Lezen-schrijven bij procesuitvoer"
|
|
|
11546
11558
|
msgid "Reader"
|
|
11547
11559
|
msgstr "Lezer"
|
|
11548
11560
|
|
|
11561
|
+
msgid "Reader User`role`"
|
|
11562
|
+
msgstr "Lezer-gebruiker"
|
|
11563
|
+
|
|
11549
11564
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11550
11565
|
msgstr "Gereedheidstest mislukt: {{requestMethod}} {{uri}}: {{protocol}}: verzoek bij het wachten op verbinding geannuleerd (Client.Timeout overschreden tijdens wachten op koppen)."
|
|
11551
11566
|
|
package/core/locales/pl.po
CHANGED
|
@@ -1120,6 +1120,9 @@ msgstr "Administrator"
|
|
|
1120
1120
|
msgid "Admin API version"
|
|
1121
1121
|
msgstr "Wersja interfejsu Admin API"
|
|
1122
1122
|
|
|
1123
|
+
msgid "Admin User`role`"
|
|
1124
|
+
msgstr "Administrator"
|
|
1125
|
+
|
|
1123
1126
|
msgid "Administration"
|
|
1124
1127
|
msgstr "Administracja"
|
|
1125
1128
|
|
|
@@ -1659,6 +1662,9 @@ msgstr "Rosnąco"
|
|
|
1659
1662
|
msgid "Asset"
|
|
1660
1663
|
msgstr "Zasób"
|
|
1661
1664
|
|
|
1665
|
+
msgid "Asset Manager`role`"
|
|
1666
|
+
msgstr "Menedżer zasobów"
|
|
1667
|
+
|
|
1662
1668
|
msgid "Asset notes"
|
|
1663
1669
|
msgstr "Uwagi dotyczące zasobów"
|
|
1664
1670
|
|
|
@@ -2160,6 +2166,9 @@ msgstr "W tym miejscu będą wyświetlane operacje zbiorcze"
|
|
|
2160
2166
|
msgid "Bulk registration"
|
|
2161
2167
|
msgstr "Rejestracja zbiorcza"
|
|
2162
2168
|
|
|
2169
|
+
msgid "Business User`role`"
|
|
2170
|
+
msgstr "Użytkownik biznesowy"
|
|
2171
|
+
|
|
2163
2172
|
msgid "Business rules"
|
|
2164
2173
|
msgstr "Reguły biznesowe"
|
|
2165
2174
|
|
|
@@ -4751,6 +4760,9 @@ msgstr "Informacje o urządzeniu"
|
|
|
4751
4760
|
msgid "Device Management User"
|
|
4752
4761
|
msgstr "Użytkownik Zarządzania urządzeniami"
|
|
4753
4762
|
|
|
4763
|
+
msgid "Device User`role`"
|
|
4764
|
+
msgstr "Użytkownik urządzenia"
|
|
4765
|
+
|
|
4754
4766
|
msgid "Device added to group"
|
|
4755
4767
|
msgstr "Urządzenie zostało dodane do grupy"
|
|
4756
4768
|
|
|
@@ -5794,10 +5806,10 @@ msgid "Escalation steps"
|
|
|
5794
5806
|
msgstr "Kroki eskalacji"
|
|
5795
5807
|
|
|
5796
5808
|
msgid ""
|
|
5797
|
-
"Especially changing the global role \"
|
|
5809
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5798
5810
|
" device is compromised, attackers might have extended access to the platform."
|
|
5799
5811
|
msgstr ""
|
|
5800
|
-
"W szczególności zmiana roli globalnej „urządzenia” może doprowadzić do zagrożenia bezpieczeństwa. Jeśli na przykład\n"
|
|
5812
|
+
"W szczególności zmiana roli globalnej „Użytkownik urządzenia” może doprowadzić do zagrożenia bezpieczeństwa. Jeśli na przykład\n"
|
|
5801
5813
|
" w urządzeniu powstała luka w zabezpieczeniach, atakujący mogą uzyskać rozszerzony dostęp do platformy."
|
|
5802
5814
|
|
|
5803
5815
|
msgid "Event"
|
|
@@ -11570,6 +11582,9 @@ msgstr "Odczyt-zapis dotyczący danych wyjściowych procesu"
|
|
|
11570
11582
|
msgid "Reader"
|
|
11571
11583
|
msgstr "Czytelnik"
|
|
11572
11584
|
|
|
11585
|
+
msgid "Reader User`role`"
|
|
11586
|
+
msgstr "Czytelnik"
|
|
11587
|
+
|
|
11573
11588
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11574
11589
|
msgstr "Niepowodzenie sondy gotowości: {{requestMethod}} {{uri}}: {{protocol}}: żądanie zostało anulowane podczas oczekiwania na połączenie (przekroczono czas Client.Timeout w trakcie oczekiwania na nagłówki)."
|
|
11575
11590
|
|
package/core/locales/pt_BR.po
CHANGED
|
@@ -1101,6 +1101,9 @@ msgstr "Admin"
|
|
|
1101
1101
|
msgid "Admin API version"
|
|
1102
1102
|
msgstr "Versão da API de administração"
|
|
1103
1103
|
|
|
1104
|
+
msgid "Admin User`role`"
|
|
1105
|
+
msgstr "Usuário administrador"
|
|
1106
|
+
|
|
1104
1107
|
msgid "Administration"
|
|
1105
1108
|
msgstr "Administração"
|
|
1106
1109
|
|
|
@@ -1640,6 +1643,9 @@ msgstr "Ascendente"
|
|
|
1640
1643
|
msgid "Asset"
|
|
1641
1644
|
msgstr "Ativo"
|
|
1642
1645
|
|
|
1646
|
+
msgid "Asset Manager`role`"
|
|
1647
|
+
msgstr "Gerente de ativos"
|
|
1648
|
+
|
|
1643
1649
|
msgid "Asset notes"
|
|
1644
1650
|
msgstr "Notas sobre ativos"
|
|
1645
1651
|
|
|
@@ -2140,6 +2146,9 @@ msgstr "As operações em massa serão exibidas aqui"
|
|
|
2140
2146
|
msgid "Bulk registration"
|
|
2141
2147
|
msgstr "Registro em massa"
|
|
2142
2148
|
|
|
2149
|
+
msgid "Business User`role`"
|
|
2150
|
+
msgstr "Usuário comercial"
|
|
2151
|
+
|
|
2143
2152
|
msgid "Business rules"
|
|
2144
2153
|
msgstr "Regras de negócio"
|
|
2145
2154
|
|
|
@@ -4730,6 +4739,9 @@ msgstr "Informações do dispositivo"
|
|
|
4730
4739
|
msgid "Device Management User"
|
|
4731
4740
|
msgstr "Usuário de gerenciamento de dispositivos"
|
|
4732
4741
|
|
|
4742
|
+
msgid "Device User`role`"
|
|
4743
|
+
msgstr "Usuário do dispositivo"
|
|
4744
|
+
|
|
4733
4745
|
msgid "Device added to group"
|
|
4734
4746
|
msgstr "Dispositivo adicionado ao grupo"
|
|
4735
4747
|
|
|
@@ -5773,10 +5785,10 @@ msgid "Escalation steps"
|
|
|
5773
5785
|
msgstr "Etapas de escalonamento"
|
|
5774
5786
|
|
|
5775
5787
|
msgid ""
|
|
5776
|
-
"Especially changing the global role \"
|
|
5788
|
+
"Especially changing the global role \"Device User`role`\" can lead to a security hole, for example, if a\n"
|
|
5777
5789
|
" device is compromised, attackers might have extended access to the platform."
|
|
5778
5790
|
msgstr ""
|
|
5779
|
-
"Alterar o papel global \"
|
|
5791
|
+
"Alterar o papel global \"Usuário do dispositivo\" pode, especialmente, provocar uma falha de segurança, por exemplo, se um\n"
|
|
5780
5792
|
" dispositivo for comprometido, os invasores podem ter amplo acesso à plataforma."
|
|
5781
5793
|
|
|
5782
5794
|
msgid "Event"
|
|
@@ -11546,6 +11558,9 @@ msgstr "Leitura-gravação na saída de processo"
|
|
|
11546
11558
|
msgid "Reader"
|
|
11547
11559
|
msgstr "Leitor"
|
|
11548
11560
|
|
|
11561
|
+
msgid "Reader User`role`"
|
|
11562
|
+
msgstr "Usuário leitor"
|
|
11563
|
+
|
|
11549
11564
|
msgid "Readiness probe failed: {{requestMethod}} {{uri}}: {{protocol}}: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)."
|
|
11550
11565
|
msgstr "Falha na investigação de preparação: {{requestMethod}} {{uri}}: {{protocol}}: solicitação cancelada enquanto aguardava a conexão (Client.Timeout foi excedido enquanto aguardava cabeçalhos)."
|
|
11551
11566
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(e,t,n){var
|
|
1
|
+
"use strict";!function(){function e(e,t,n,l){var i=this,o=(_.assign(i,{onToggleDropdown:function(){delete i.textFilter,o=_.map(i.itemsSelected,_.clone)},allSelected:r,toggleSelectAll:function(){o=r()?[]:_.clone(a())},apply:function(){i.applying=!0,e.when(i.onApply({items:_.map(a(o))})).then(function(){i.isDropDownOpen=!1}).finally(function(){i.applying=!1})},toggle:function(e){c(e)?_.remove(o,{id:e.id}):o.push(e)},isSelected:c,$onChanges:function(e){e.itemsSelected&&(i.displayLabel=_(i.itemsSelected).sortBy(s).map(s).value().join(", "))},translateName:s,placeholder:function(){return _.isUndefined(i.textPlaceholder)?"----":i.textPlaceholder},getNameLabel:l.getName}),[]);function r(){return _.every(a(),c)}function c(e){return _.some(o,{id:e.id})}function a(e){return t("filter")(e||i.items,i.textFilter)}function s(e){return n.getString(l.getName(e))}}e.$inject=["$q","$filter","gettextCatalog","c8yPropertyValueTransformService"],angular.module("c8y.ui").component("c8yItemSelector",{templateUrl:":::PLUGIN_PATH:::/ui/itemSelector/itemSelector.html",bindings:{textPlaceholder:"@",textApply:"@",styleButton:"<",items:"<",itemsSelected:"<",onApply:"&",dropdownMenuClasses:"<",disabled:"=ngDisabled"},controller:e,controllerAs:"vm"})}();
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
class="multiselect-item"
|
|
72
72
|
>
|
|
73
73
|
<label
|
|
74
|
-
title="{{ ::item
|
|
74
|
+
title="{{ ::vm.getNameLabel(item) | translate }}"
|
|
75
75
|
class="c8y-checkbox input-sm text-truncate"
|
|
76
76
|
ng-click="::vm.toggle(item); $event.preventDefault()"
|
|
77
77
|
data-cy="c8y-item-selector--item"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
ng-click="::vm.toggle(item); $event.stopPropagation()"
|
|
84
84
|
/>
|
|
85
85
|
<span></span>
|
|
86
|
-
<span class="label-text text-truncate" ng-bind="::item
|
|
86
|
+
<span class="label-text text-truncate" ng-bind="::vm.getNameLabel(item) | translate"></span>
|
|
87
87
|
</label>
|
|
88
88
|
</li>
|
|
89
89
|
</ul>
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(t,e,o,i,n,l){var
|
|
1
|
+
"use strict";!function(){function e(t,e,o,i,n,l,s){var r=this;function a(e){r.role=e,c();e=e.roles;e=(e||{}).references||[],r.selectedPermissions=_.map(e,"role.id")}function c(){i.listGlobalPermissions().then(u)}function u(e){r.permissions=e}function m(){r.globalRoleDetailForm.$setDirty()}function f(e){return r.saving=!0,e.finally(function(){r.saving=!1}),e}_.assign(r,{$onInit:function(){(function(){var e=r.id,n=r.duplicateId;("new"===e?function(e){var n=i.newGlobalRole(e);return n.then(function(){e&&s(m)}),n}(n):function(e){return o.global.detail(e).then(t.getResData)}(e)).then(a)})(),c()},STRINGS:i.STRINGS,helpLink:l.getUserGuideLink(i.STRINGS.LINKS.ROLES_INVENTORY),onSaveName:function(e){return f(i.saveGlobalRoleName(r.role,e))},cancel:i.list,save:function(){return f(i.saveGlobalRole(r.role,r.selectedPermissions))},hasAppPermissions:function(){var t=/^ROLE_APPLICATION/;return _.some(r.selectedPermissions,function(e,n){return e&&t.test(n)})},getRoleName:n.getName,onSelectedRolesChange:function(e){r.selectedPermissions=e,m()}})}e.$inject=["c8yBase","c8yPermissions","c8yRoles","c8yRolesUi","c8yPropertyValueTransformService","c8yDocs","$timeout"],angular.module("c8y.roles").component("c8yRoleDetailGlobal",{templateUrl:":::PLUGIN_PATH:::/detail/roleDetailGlobal.html",bindings:{id:"<",duplicateId:"<",tabName:"<"},controllerAs:"vm",controller:e})}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function
|
|
1
|
+
"use strict";!function(){function e(t,n,o,i,e,r){var a=this;function l(e){return a.saving=!0,e.finally(function(){a.saving=!1}),e}function c(e){return"SUPPORT"===e.name&&!a.isTopTenant}_.assign(a,{$onInit:function(){!function(){var e=a.id,n=a.duplicateId;("new"===e?i.newInventoryRole(n):o.detail(e).then(t.getResData)).then(function(e){a.role=e})}()},$onChanges:function(e){e.isTopTenant&&(a.permissionScopes=function(){var e=n.SCOPES.values();return _.reject(e,c)}())},STRINGS:i.STRINGS,helpLink:r.getUserGuideLink(i.STRINGS.LINKS.ROLES_INVENTORY),onSaveName:function(e){return l(i.saveInventoryRoleName(a.role,e))},cancel:i.list,save:function(){return l(i.saveInventoryRole(a.role))},getRoleName:e.getName})}e.$inject=["c8yBase","c8yPermissions","c8yRoles","c8yRolesUi","c8yPropertyValueTransformService","c8yDocs"],angular.module("c8y.roles").component("c8yRoleDetailInventory",{templateUrl:":::PLUGIN_PATH:::/detail/roleDetailInventory.html",bindings:{id:"<",duplicateId:"<",isTopTenant:"<",tabName:"<"},controllerAs:"vm",controller:e})}();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
You are about to save changes in the global role which might affect security.
|
|
10
10
|
</span>
|
|
11
11
|
<span ng-if="vm.devicesWarning" translate>
|
|
12
|
-
Especially changing the global role "
|
|
12
|
+
Especially changing the global role "Device User`role`" can lead to a security hole, for example, if a
|
|
13
13
|
device is compromised, attackers might have extended access to the platform.
|
|
14
14
|
</span>
|
|
15
15
|
<span translate>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(n,o){var t=this;_.assign(t,{remove:function(e){o.removeAfterConfirmation(e).then(function(){t.onRemove({role:e})})},duplicate:o.duplicate,edit:o.edit,isUndeletable:o.isUndeletable,$onInit:function(){o.canCreate().then(function(e){t.canCreate=e})}}),n.loadNext=function(){t.onLoadNext()},n.$watch("vm.roles.paging",function(e){t.roles&&(t.roles=t.roles.sort(function(e,n){return e.name.localeCompare(n.name,void 0,{numeric:!0})})),n.paging=e,_.forEach(t.roles,function(e){e.name=e.name&&_.trim(e.name),e.description=e.description&&_.trim(e.description)})})}e.$inject=["$scope","c8yRolesUi"],angular.module("c8y.roles").component("c8yRolesList",{templateUrl:":::PLUGIN_PATH:::/list/rolesList.html",bindings:{tabName:"<",roles:"<",addRole:"&",onRemove:"&",helpText:"<",onLoadNext:"&"},controllerAs:"vm",controller:e})}();
|
|
1
|
+
"use strict";!function(){function e(n,o,e){var t=this;_.assign(t,{remove:function(e){o.removeAfterConfirmation(e).then(function(){t.onRemove({role:e})})},duplicate:o.duplicate,edit:o.edit,isUndeletable:o.isUndeletable,getRoleName:e.getName,$onInit:function(){o.canCreate().then(function(e){t.canCreate=e})}}),n.loadNext=function(){t.onLoadNext()},n.$watch("vm.roles.paging",function(e){t.roles&&(t.roles=t.roles.sort(function(e,n){return e.name.localeCompare(n.name,void 0,{numeric:!0})})),n.paging=e,_.forEach(t.roles,function(e){e.name=e.name&&_.trim(e.name),e.description=e.description&&_.trim(e.description)})})}e.$inject=["$scope","c8yRolesUi","c8yPropertyValueTransformService"],angular.module("c8y.roles").component("c8yRolesList",{templateUrl:":::PLUGIN_PATH:::/list/rolesList.html",bindings:{tabName:"<",roles:"<",addRole:"&",onRemove:"&",helpText:"<",onLoadNext:"&"},controllerAs:"vm",controller:e})}();
|
|
@@ -226,9 +226,9 @@
|
|
|
226
226
|
</div>
|
|
227
227
|
<div
|
|
228
228
|
class="card-title text-truncate"
|
|
229
|
-
title="{{::role
|
|
229
|
+
title="{{::vm.getRoleName(role) | translate}}"
|
|
230
230
|
>
|
|
231
|
-
<span>{{::role
|
|
231
|
+
<span>{{::vm.getRoleName(role) | translate}}</span>
|
|
232
232
|
</div>
|
|
233
233
|
</div>
|
|
234
234
|
<div class="card-block card-column-70">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(a,
|
|
1
|
+
"use strict";!function(){function e(a,F,c,e,f,d,l,E,n,r,t,g,h,s,m,o,p){var i,u,v,w=this,N=(_.assign(w,{cancel:g.gotoList,shouldDisableGlobalRolesCheckbox:D,isUserAndRolesFormPristine:U,isUserFormInvalid:y,isRolesFormInvalid:I,canSave:function(){return!(c.saving||U()||y()||I())},getRoleName:o.getName}),e.userId),R=["business"];function T(){N?d.detail(N).then(function(e){return e.data}).then(A).then(function(){return d.getUserTfaSettings(c.user).then(f.getResData).then(function(e){c.userTfaEnforced=!!e.tfaEnforced})}):(A({enabled:c.isNew=!0}),P(p("New user"),!0))}function A(e){u=e.email,e.devicePermissions=e.devicePermissions||{},c.user=e,c._groups=O(e),c.password.showPassword=c.isNew,c.hasExternalOrigin=d.hasExternalOrigin(e),c.isNew&&(_.forEach(c.groups,function(e){_.includes(R,e.name)&&(c._groups[e.id]=!0)}),v)&&E.warning(g.LOCAL_USER_TEXT),c.hasExternalOrigin&&s.isSsoClearingUserRolesOnEveryLogin().then(function(e){return c.userCanEditRoles=!e,c.userCanEditRoles}).then(function(e){e?E.warning(g.EXTERNAL_ORIGIN_DYNAMIC_ACCESS_MAPPING_EXCEPTION_TEXT):E.warning(g.EXTERNAL_ORIGIN_TEXT)})}function U(){return c.forms.userForm.$pristine&&c.forms.rolesForm.$pristine}function y(){return!!(M(c.currentUser,c.user)&&!c.hasExternalOrigin)&&c.forms.userForm.$invalid}function I(){return!D()&&c.forms.rolesForm.$invalid}function O(e){return _.reduce(_.get(e,"groups.references"),function(e,n){return e[n.group.id]=!0,e},{})}function C(e){c.groups=e}function L(e){c.currentUser=e}function G(r,e){function n(){return E.success(p("User saved."))}var t=1<arguments.length&&void 0!==e?e:"",e=(c.saving=!0,g.gotoList),s=!(r.id&&!r.groups),o=_(c._groups).map(function(e,n){return e&&parseInt(n,10)}).filter().value(),i=s?function(){return l.updateGroups(0<arguments.length&&void 0!==arguments[0]?arguments[0]:r,o)}:function(){return a.resolve()},s=c.forms.rolesForm.$dirty,u=c.password.showPassword;try{(c.hasExternalOrigin?g.warnAboutUserLogOutIfNeeded(r,{rolesChanged:s,passwordChanged:u}).then(function(){return i()}):g.warnAboutUserLogOutIfNeeded(r,{rolesChanged:s,passwordChanged:u}).then(function(){return r.password&&!c.isNew?d.changePassword(r,r.password,t):a.resolve()}).then(function(){return d.current()}).then(function(e){return _.isEqual(e.userName,r.userName)}).then(function(e){var n;return m.isActivatedFor("units-conversion")&&(e&&(n=r,n=_.get(r,"measurementUnit.value"),h.set("unit",n)),_.unset(r,"measurementUnit")),e}).then(function(e){return d.save(_.omit(r,c.isNew?["measurementUnit"]:["measurementUnit","password"]),e)}).then(f.getResData).then(function(e){return i(e)}).then(function(){return d.setUserTfaSettings(r,{tfaEnforced:!!c.userTfaEnforced})})).then(n).then(e).finally(function(){c.saving=!1})}catch(e){E.danger(e.message),c.saving=!1}}function P(){return n.changeTitle({title:0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},{skipTitleTranslation:!(1<arguments.length&&void 0!==arguments[1]&&arguments[1])})}function S(e){return d.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN")||d.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE")}function M(e,n){return!(!e||!n)&&(!n.id||(e.id===n.id?d.hasRole(e,"ROLE_USER_MANAGEMENT_OWN_ADMIN"):d.hasRole(e,"ROLE_USER_MANAGEMENT_ADMIN")||d.hasRole(e,"ROLE_USER_MANAGEMENT_CREATE")))}function $(e){return _.get(c.user,"owner")&&i&&!i[e.id]}function D(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=S(c.currentUser),e=!e||!$(e),r=!!c.userCanEditRoles||!c.hasExternalOrigin;return!(n&&e&&r)}c.checkPassword=function(n){var e=!c.isNew,r=c.password.showPassword||function(e){return e.email!==u}(n);return e&&r?t.currentPassword().then(function(e){return G(n,e)}).catch(function(e){e&&E.danger(f.getResErrorMessage(e)),T()}):G(n)},c.$watch("user.userName",P),c.$watch("user.owner",function(e){e?d.detail(e).then(f.getResData).then(function(e){i=O(e),_.forEach(c._groups,function(e,n){c._groups[n]=e&&i[n]})}):i=null}),c.$watch("_groups",function(e){c.enforcedGroup&&(c.topLevelTfaEnforced=e[c.enforcedGroup.id])},!0),c.canEditUser=M,c.canEditUserGroups=S,c.canActivateUser=function(e,n){return!(!e||!n)&&e.id!==n.id},c.forms={},c.password={},c.saving=!1,c.showAcl=function(){var e=_.get(c.user,"devicePermissions"),e=_.keys(e);return f.getFlag("deprecated")||e.length},c.restrictedByOwner=$,c.$on("$destroy",function(){E.remove({text:g.EXTERNAL_ORIGIN_TEXT,type:"warning"}),E.remove({text:g.EXTERNAL_ORIGIN_DYNAMIC_ACCESS_MAPPING_EXCEPTION_TEXT,type:"warning"}),E.remove({text:g.LOCAL_USER_TEXT,type:"warning"})}),l.list(void 0).then(C).then(s.isSsoEnabled).then(function(e){v=e}).then(T).then(function(){return r.current().then(function(e){return d.getTenantTfaSettings(c.user,e.name)}).then(function(e){c.enforcedGroup=_.find(c.groups,{name:e.enforcedUsersGroup}),c.topLevelTfaEnforced=d.isEnforcedForUser(c.user,e)||c._groups[c.enforcedGroup.id]})}),d.current().then(L),g.userHierarchyActive().then(function(e){w.FEATURE_USER_HIERARCHY=e})}e.$inject=["$q","$injector","$scope","$routeParams","c8yBase","c8yUser","c8yUserGroup","c8yAlert","c8yTitle","c8yTenant","c8yUserUtil","c8yUsersUi","c8yUserPreferences","c8yLoginOptions","c8yBeta","c8yPropertyValueTransformService","gettext"],angular.module("c8y.users").component("c8yUserDetailView",{templateUrl:":::PLUGIN_PATH:::/userDetailView/userDetailView.html",controller:e,controllerAs:"vm"})}();
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
<span></span>
|
|
79
79
|
<span
|
|
80
80
|
class="text-normal d-flex"
|
|
81
|
-
title="{{ ::group
|
|
81
|
+
title="{{ ::vm.getRoleName(group) | translate }}"
|
|
82
82
|
>
|
|
83
83
|
<div>
|
|
84
|
-
{{::group
|
|
84
|
+
{{::vm.getRoleName(group) | translate}}
|
|
85
85
|
<p class="small text-muted">{{::group.description | translate}}</p>
|
|
86
86
|
</div>
|
|
87
87
|
<button
|