@c8y/ng1-modules 1019.22.0 → 1019.23.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/core/locales/de.po +15 -0
- package/core/locales/es.po +15 -0
- package/core/locales/fr.po +15 -0
- package/core/locales/nl.po +15 -0
- package/core/locales/pl.po +15 -0
- package/core/locales/pt_BR.po +15 -0
- package/package.json +1 -1
- package/roles/detail/roleDetailGlobal.component.js +1 -1
- package/roles/detail/roleDetailGlobal.html +1 -4
- package/roles/detail/roleDetailInventory.component.js +1 -1
- package/roles/detail/roleDetailInventory.html +6 -5
- package/roles/list/rolesList.component.js +1 -1
- package/roles/list/rolesList.html +3 -2
- package/roles/rolesUi.provider.js +1 -1
- package/userRoles/inventoryRolesTab/inventoryRolesTab.component.js +1 -1
- package/userRoles/inventoryRolesTab/inventoryRolesTab.html +2 -1
package/core/locales/de.po
CHANGED
|
@@ -3556,6 +3556,9 @@ msgstr "Die Datei konnte nicht heruntergeladen werden, weil das Objekt mit der I
|
|
|
3556
3556
|
msgid "Could not download the log file."
|
|
3557
3557
|
msgstr "Logdatei konnte nicht heruntergeladen werden."
|
|
3558
3558
|
|
|
3559
|
+
msgid "Could not enable the \"Ignore case when logging in\" feature. Duplicate usernames or aliases were detected when ignoring case sensitivity. Resolve conflicting names and try again."
|
|
3560
|
+
msgstr "Die Funktion \"Groß- und Kleinschreibung während des Einloggens ignorieren\" konnte nicht aktiviert werden. Beim Ignorieren der Groß- und Kleinschreibung wurden doppelte Benutzernamen oder Aliasnamen erkannt. Lösen Sie widersprüchliche Namen auf und versuchen Sie es erneut."
|
|
3561
|
+
|
|
3559
3562
|
msgid "Could not execute bulk operation on an empty group. Group with ID \"{{groupId}}\" has no child assets."
|
|
3560
3563
|
msgstr "Bulk-Operationen können nicht für leere Gruppen ausgeführt werden. Die Gruppe mit der ID \"{{groupId}}\" hat keine Kind-Assets."
|
|
3561
3564
|
|
|
@@ -7603,6 +7606,9 @@ msgstr "Wenn diese Option ausgewählt ist, werden leere Werte bei allen nachfolg
|
|
|
7603
7606
|
msgid "If selected, it will process the result of the request using response templates."
|
|
7604
7607
|
msgstr "Wenn diese Option ausgewählt ist, wird das Ergebnis der Anfrage mithilfe von Antwort-Templates verarbeitet."
|
|
7605
7608
|
|
|
7609
|
+
msgid "If selected, the letter case of the username does not matter during login."
|
|
7610
|
+
msgstr "Wenn diese Option ausgewählt ist, istdie Groß- und Kleinschreibung des Benutzernamens während des Einloggens nicht relevant."
|
|
7611
|
+
|
|
7606
7612
|
msgid "If selected, then every request needs to use the same \"User-Agent\" header as the first request which initiated the session."
|
|
7607
7613
|
msgstr "Wird diese Option gewählt, muss jede Anfrage denselben \"User-Agent\"-Header wie die erste Anfrage, die die Sitzung eingeleitet hat, verwenden."
|
|
7608
7614
|
|
|
@@ -7612,6 +7618,9 @@ msgstr "Wenn der Filter gesetzt ist, wird die Firmware nur für Geräte dieses T
|
|
|
7612
7618
|
msgid "If the filter is set, the software will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
|
|
7613
7619
|
msgstr "Wenn der Filter gesetzt ist, wird die Software nur für Geräte dieses Typs zur Installation angezeigt. Wenn kein Filter gesetzt ist, ist sie für alle Geräte verfügbar."
|
|
7614
7620
|
|
|
7621
|
+
msgid "Ignore case when logging in"
|
|
7622
|
+
msgstr "Groß- und Kleinschreibung während des Einloggens ignorieren"
|
|
7623
|
+
|
|
7615
7624
|
msgid "Ignore empty values"
|
|
7616
7625
|
msgstr "Leere Werte ignorieren"
|
|
7617
7626
|
|
|
@@ -10311,6 +10320,9 @@ msgstr "Online"
|
|
|
10311
10320
|
msgid "Online`type of checking`"
|
|
10312
10321
|
msgstr "Online"
|
|
10313
10322
|
|
|
10323
|
+
msgid "Only a tenant administrator can configure the \"Ignore case when logging in\" option."
|
|
10324
|
+
msgstr "Nur ein Administrator des Mandanten kann die Option \"Groß- und Kleinschreibung während des Einloggens ignorieren\" konfigurieren."
|
|
10325
|
+
|
|
10314
10326
|
msgid "Only active contracts with free slots are displayed."
|
|
10315
10327
|
msgstr "Es werden nur aktive Verträge mit freien Slots angezeigt."
|
|
10316
10328
|
|
|
@@ -14808,6 +14820,9 @@ msgstr ""
|
|
|
14808
14820
|
"\n"
|
|
14809
14821
|
"Durch diesen Prozess bleibt die neue Hardware mit der Information des Vorgängers verknüpft."
|
|
14810
14822
|
|
|
14823
|
+
msgid "The feature \"Ignore case when logging in\" is not available."
|
|
14824
|
+
msgstr "Die Funktion \"Groß- und Kleinschreibung während des Einloggens ignorieren\" ist nicht verfügbar."
|
|
14825
|
+
|
|
14811
14826
|
msgid "The file is empty."
|
|
14812
14827
|
msgstr "Die Datei ist leer."
|
|
14813
14828
|
|
package/core/locales/es.po
CHANGED
|
@@ -3564,6 +3564,9 @@ msgstr "No ha podido descargarse el archivo: El objeto con el ID \"{{ id }}\" no
|
|
|
3564
3564
|
msgid "Could not download the log file."
|
|
3565
3565
|
msgstr "El archivo de registro no ha podido descargarse."
|
|
3566
3566
|
|
|
3567
|
+
msgid "Could not enable the \"Ignore case when logging in\" feature. Duplicate usernames or aliases were detected when ignoring case sensitivity. Resolve conflicting names and try again."
|
|
3568
|
+
msgstr "No se ha podido activar la función \"Ignorar mayúsculas y minúsculas al iniciar sesión\". Se han detectado nombres de usuario o alias duplicados al ignorar mayúsculas y minúsculas. Resuelve los nombres conflictivos e inténtalo de nuevo."
|
|
3569
|
+
|
|
3567
3570
|
msgid "Could not execute bulk operation on an empty group. Group with ID \"{{groupId}}\" has no child assets."
|
|
3568
3571
|
msgstr "No se puede ejecutar la operación en masa en un grupo vacío. El grupo con el ID \"{{groupId}}\" no tiene activos secundarios."
|
|
3569
3572
|
|
|
@@ -7629,6 +7632,9 @@ msgstr "Si se selecciona, los valores vacíos se ignorarán en todos los recurso
|
|
|
7629
7632
|
msgid "If selected, it will process the result of the request using response templates."
|
|
7630
7633
|
msgstr "Si se ha seleccionado, procesará el resultado de la solicitud utilizando las plantillas de respuesta."
|
|
7631
7634
|
|
|
7635
|
+
msgid "If selected, the letter case of the username does not matter during login."
|
|
7636
|
+
msgstr "Si se selecciona esta opción, el nombre de usuario no tendrá importancia durante el inicio de sesión."
|
|
7637
|
+
|
|
7632
7638
|
msgid "If selected, then every request needs to use the same \"User-Agent\" header as the first request which initiated the session."
|
|
7633
7639
|
msgstr "Si se selecciona, todas las solicitudes deberán usar el mismo encabezado \"User-Agent\" que la primera solicitud que inició la sesión."
|
|
7634
7640
|
|
|
@@ -7638,6 +7644,9 @@ msgstr "Si se configura un filtro, sólo los dispositivos de este tipo podrán i
|
|
|
7638
7644
|
msgid "If the filter is set, the software will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
|
|
7639
7645
|
msgstr "Si se configura un filtro, sólo los dispositivos de este tipo podrán instalar el software. Si no se configura ningún filtro, estará disponible para todos los dispositivos."
|
|
7640
7646
|
|
|
7647
|
+
msgid "Ignore case when logging in"
|
|
7648
|
+
msgstr "Ignorar mayúsculas y minúsculas al iniciar sesión"
|
|
7649
|
+
|
|
7641
7650
|
msgid "Ignore empty values"
|
|
7642
7651
|
msgstr "Ignorar valores vacíos"
|
|
7643
7652
|
|
|
@@ -10339,6 +10348,9 @@ msgstr "En línea"
|
|
|
10339
10348
|
msgid "Online`type of checking`"
|
|
10340
10349
|
msgstr "Online"
|
|
10341
10350
|
|
|
10351
|
+
msgid "Only a tenant administrator can configure the \"Ignore case when logging in\" option."
|
|
10352
|
+
msgstr "Sólo un administrador de tenant puede configurar la opción \"Ignorar mayúsculas y minúsculas al iniciar sesión\"."
|
|
10353
|
+
|
|
10342
10354
|
msgid "Only active contracts with free slots are displayed."
|
|
10343
10355
|
msgstr "Sólo se muestran contratos activos con ranuras libres."
|
|
10344
10356
|
|
|
@@ -14837,6 +14849,9 @@ msgstr ""
|
|
|
14837
14849
|
"\n"
|
|
14838
14850
|
"Con este procedimiento el nuevo hardware sigue enlazado a la información creada por su predecesor."
|
|
14839
14851
|
|
|
14852
|
+
msgid "The feature \"Ignore case when logging in\" is not available."
|
|
14853
|
+
msgstr "La función \"Ignorar mayúsculas y minúsculas al iniciar sesión\" no está disponible."
|
|
14854
|
+
|
|
14840
14855
|
msgid "The file is empty."
|
|
14841
14856
|
msgstr "El archivo está vacío."
|
|
14842
14857
|
|
package/core/locales/fr.po
CHANGED
|
@@ -3564,6 +3564,9 @@ msgstr "Chargement du fichier impossible : l'objet avec l'ID \"{{ id }}\" n'est
|
|
|
3564
3564
|
msgid "Could not download the log file."
|
|
3565
3565
|
msgstr "Téléchargement du fichier journal impossible."
|
|
3566
3566
|
|
|
3567
|
+
msgid "Could not enable the \"Ignore case when logging in\" feature. Duplicate usernames or aliases were detected when ignoring case sensitivity. Resolve conflicting names and try again."
|
|
3568
|
+
msgstr "Impossible d'activer la fonction \"Ignorer casse lors de la connexion\". Des doublons de noms d'utilisateur ou d'alias ont été détectés lorsque la sensibilité à la casse a été ignorée. Résolvez les conflits de noms et réessayez."
|
|
3569
|
+
|
|
3567
3570
|
msgid "Could not execute bulk operation on an empty group. Group with ID \"{{groupId}}\" has no child assets."
|
|
3568
3571
|
msgstr "Impossible d'exécuter l'opération en masse sur un groupe vide. Le groupe avec l'ID \"{{groupId}}\" n'a pas d'actif enfant."
|
|
3569
3572
|
|
|
@@ -7629,6 +7632,9 @@ msgstr "Si cette option est sélectionnée, les valeurs vides de toutes les ress
|
|
|
7629
7632
|
msgid "If selected, it will process the result of the request using response templates."
|
|
7630
7633
|
msgstr "Si cette option est sélectionnée, le résultat de la requête sera traité avec des modèles de réponse."
|
|
7631
7634
|
|
|
7635
|
+
msgid "If selected, the letter case of the username does not matter during login."
|
|
7636
|
+
msgstr "Si cette option est sélectionnée, la casse du nom d'utilisateur n'a pas d'importance lors de la connexion."
|
|
7637
|
+
|
|
7632
7638
|
msgid "If selected, then every request needs to use the same \"User-Agent\" header as the first request which initiated the session."
|
|
7633
7639
|
msgstr "Si cette option est sélectionnée, toutes les demandes doivent utiliser le même en-tête \"User-Agent\" comme première demande qui a initié la session."
|
|
7634
7640
|
|
|
@@ -7638,6 +7644,9 @@ msgstr "Si le filtre est activé, le microprogramme s'affiche uniquement lors de
|
|
|
7638
7644
|
msgid "If the filter is set, the software will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
|
|
7639
7645
|
msgstr "Si le filtre est activé, le logiciel s'affiche uniquement lors de l'installation des appareils de même type. Si aucun filtre n'est activé, le logiciel est disponible pour tous les appareils."
|
|
7640
7646
|
|
|
7647
|
+
msgid "Ignore case when logging in"
|
|
7648
|
+
msgstr "Ignorer la casse lors de la connexion"
|
|
7649
|
+
|
|
7641
7650
|
msgid "Ignore empty values"
|
|
7642
7651
|
msgstr "Ignorer les valeurs vides"
|
|
7643
7652
|
|
|
@@ -10339,6 +10348,9 @@ msgstr "En ligne"
|
|
|
10339
10348
|
msgid "Online`type of checking`"
|
|
10340
10349
|
msgstr "En ligne"
|
|
10341
10350
|
|
|
10351
|
+
msgid "Only a tenant administrator can configure the \"Ignore case when logging in\" option."
|
|
10352
|
+
msgstr "Seul un administrateur gérant peut configurer l'option \"Ignorer casse lors de la connexion\"."
|
|
10353
|
+
|
|
10342
10354
|
msgid "Only active contracts with free slots are displayed."
|
|
10343
10355
|
msgstr "Seuls les contrats actifs avec des emplacements libres sont affichés."
|
|
10344
10356
|
|
|
@@ -14837,6 +14849,9 @@ msgstr ""
|
|
|
14837
14849
|
"\n"
|
|
14838
14850
|
"Avec cette prodécure, le nouveau matériel est toujours relié aux informations créées par son prédécesseur."
|
|
14839
14851
|
|
|
14852
|
+
msgid "The feature \"Ignore case when logging in\" is not available."
|
|
14853
|
+
msgstr "La fonction \"Ignorer la casse lors de la connexion\" n'est pas disponible."
|
|
14854
|
+
|
|
14840
14855
|
msgid "The file is empty."
|
|
14841
14856
|
msgstr "Ce fichier est vide."
|
|
14842
14857
|
|
package/core/locales/nl.po
CHANGED
|
@@ -3564,6 +3564,9 @@ msgstr "Kan het bestand niet downloaden: object met ID \"{{ id }}\" is geen geld
|
|
|
3564
3564
|
msgid "Could not download the log file."
|
|
3565
3565
|
msgstr "Kon het logbestand niet downloaden."
|
|
3566
3566
|
|
|
3567
|
+
msgid "Could not enable the \"Ignore case when logging in\" feature. Duplicate usernames or aliases were detected when ignoring case sensitivity. Resolve conflicting names and try again."
|
|
3568
|
+
msgstr "De functie \"Hoofdletters negeren bij aanmelden\" kon niet worden ingeschakeld. Er werden dubbele gebruikersnamen of aliassen gedetecteerd bij het negeren van hoofdlettergevoeligheid. Los conflicterende namen op en probeer het opnieuw."
|
|
3569
|
+
|
|
3567
3570
|
msgid "Could not execute bulk operation on an empty group. Group with ID \"{{groupId}}\" has no child assets."
|
|
3568
3571
|
msgstr "Kon bulkbewerking niet uitvoeren voor een lege groep. Groep met ID \"{{groupId}}\" heeft geen onderliggende assets."
|
|
3569
3572
|
|
|
@@ -7628,6 +7631,9 @@ msgstr "Als dit is ingeschakeld, worden lege waarden genegeerd voor alle onderst
|
|
|
7628
7631
|
msgid "If selected, it will process the result of the request using response templates."
|
|
7629
7632
|
msgstr "Indien geselecteerd, zal het resultaat van het verzoek met behulp van antwoordsjablonen worden verwerkt."
|
|
7630
7633
|
|
|
7634
|
+
msgid "If selected, the letter case of the username does not matter during login."
|
|
7635
|
+
msgstr "Indien geselecteerd, maakt het bij aanmelden niet uit of de gebruikersnaam hoofdletters bevat."
|
|
7636
|
+
|
|
7631
7637
|
msgid "If selected, then every request needs to use the same \"User-Agent\" header as the first request which initiated the session."
|
|
7632
7638
|
msgstr "Als dit is geselecteerd, moet elke aanvraag dezelfde \"User-Agent\"-kopregel gebruiken als de eerste aanvraag die de sessie heeft geïnitieerd."
|
|
7633
7639
|
|
|
@@ -7637,6 +7643,9 @@ msgstr "Als de filter is ingesteld, zal de firmware alleen verschijnen voor inst
|
|
|
7637
7643
|
msgid "If the filter is set, the software will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
|
|
7638
7644
|
msgstr "Als de filter is ingesteld, zal de software alleen verschijnen voor installatie bij apparaten van dat type. Als geen filter is ingesteld, zal hij voor all apparaten beschikbaar zijn."
|
|
7639
7645
|
|
|
7646
|
+
msgid "Ignore case when logging in"
|
|
7647
|
+
msgstr "Hoofdletters negeren bij aanmelden"
|
|
7648
|
+
|
|
7640
7649
|
msgid "Ignore empty values"
|
|
7641
7650
|
msgstr "Lege waarden negeren"
|
|
7642
7651
|
|
|
@@ -10338,6 +10347,9 @@ msgstr "Online"
|
|
|
10338
10347
|
msgid "Online`type of checking`"
|
|
10339
10348
|
msgstr "Online"
|
|
10340
10349
|
|
|
10350
|
+
msgid "Only a tenant administrator can configure the \"Ignore case when logging in\" option."
|
|
10351
|
+
msgstr "Alleen een tenant administrator kan de optie \"Hoofdletters negeren bij aanmelden\" configureren."
|
|
10352
|
+
|
|
10341
10353
|
msgid "Only active contracts with free slots are displayed."
|
|
10342
10354
|
msgstr "Er worden actieve contracten met vrije slots weergegeven."
|
|
10343
10355
|
|
|
@@ -14836,6 +14848,9 @@ msgstr ""
|
|
|
14836
14848
|
"\n"
|
|
14837
14849
|
"Bij deze procedure is de nieuwe hardware nog gekoppeld aan de informatie die door zijn voorganger werd gemaakt."
|
|
14838
14850
|
|
|
14851
|
+
msgid "The feature \"Ignore case when logging in\" is not available."
|
|
14852
|
+
msgstr "De functie \"Hoofdletters negeren bij aanmelden\" is niet beschikbaar."
|
|
14853
|
+
|
|
14839
14854
|
msgid "The file is empty."
|
|
14840
14855
|
msgstr "Het bestand is leeg."
|
|
14841
14856
|
|
package/core/locales/pl.po
CHANGED
|
@@ -3584,6 +3584,9 @@ msgstr "Nie udało się pobrać pliku: obiekt o ID „{{ id }}” nie jest prawi
|
|
|
3584
3584
|
msgid "Could not download the log file."
|
|
3585
3585
|
msgstr "Nie można pobrać pliku dziennika."
|
|
3586
3586
|
|
|
3587
|
+
msgid "Could not enable the \"Ignore case when logging in\" feature. Duplicate usernames or aliases were detected when ignoring case sensitivity. Resolve conflicting names and try again."
|
|
3588
|
+
msgstr "Nie można było włączyć funkcji \"Ignoruj wielkość liter podczas logowania\". Wykryto zduplikowane nazwy użytkowników lub aliasy podczas ignorowania wielkości liter. Rozwiąż konflikt nazw i spróbuj ponownie."
|
|
3589
|
+
|
|
3587
3590
|
msgid "Could not execute bulk operation on an empty group. Group with ID \"{{groupId}}\" has no child assets."
|
|
3588
3591
|
msgstr "Nie można wykonać operacji zbiorczej na pustej grupie. Grupa o identyfikatorze „{{groupId}}” nie ma zasobów podrzędnych."
|
|
3589
3592
|
|
|
@@ -7649,6 +7652,9 @@ msgstr "W przypadku zaznaczenia tej opcji puste wartości będą ignorowane we w
|
|
|
7649
7652
|
msgid "If selected, it will process the result of the request using response templates."
|
|
7650
7653
|
msgstr "W przypadku zaznaczenia tej opcji wynik żądania będzie przetwarzany przy użyciu szablonów odpowiedzi."
|
|
7651
7654
|
|
|
7655
|
+
msgid "If selected, the letter case of the username does not matter during login."
|
|
7656
|
+
msgstr "W przypadku zaznaczenia tej opcji wielkość liter nazwy użytkownika nie ma znaczenia podczas logowania."
|
|
7657
|
+
|
|
7652
7658
|
msgid "If selected, then every request needs to use the same \"User-Agent\" header as the first request which initiated the session."
|
|
7653
7659
|
msgstr "W przypadku zaznaczenia tej opcji każde żądanie musi używać tego samego nagłówka „User-Agent” co pierwsze żądanie, które zainicjowało sesję."
|
|
7654
7660
|
|
|
@@ -7658,6 +7664,9 @@ msgstr "W przypadku ustawienia filtru oprogramowanie sprzętowe będzie wyświet
|
|
|
7658
7664
|
msgid "If the filter is set, the software will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
|
|
7659
7665
|
msgstr "W przypadku ustawienia filtru oprogramowanie będzie wyświetlane na potrzeby instalacji jedynie dla urządzeń tego typu. Jeśli nie zostanie ustawiony żaden filtr, będzie dostępne dla wszystkich urządzeń."
|
|
7660
7666
|
|
|
7667
|
+
msgid "Ignore case when logging in"
|
|
7668
|
+
msgstr "Ignoruj wielkość liter podczas logowania"
|
|
7669
|
+
|
|
7661
7670
|
msgid "Ignore empty values"
|
|
7662
7671
|
msgstr "Ignoruj puste wartości"
|
|
7663
7672
|
|
|
@@ -10362,6 +10371,9 @@ msgstr "Online"
|
|
|
10362
10371
|
msgid "Online`type of checking`"
|
|
10363
10372
|
msgstr "Online"
|
|
10364
10373
|
|
|
10374
|
+
msgid "Only a tenant administrator can configure the \"Ignore case when logging in\" option."
|
|
10375
|
+
msgstr "Tylko administrator tenanta może skonfigurować opcję \"Ignoruj wielkość liter podczas logowania\"."
|
|
10376
|
+
|
|
10365
10377
|
msgid "Only active contracts with free slots are displayed."
|
|
10366
10378
|
msgstr "Wyświetlane są tylko aktywne kontrakty z wolnymi miejscami."
|
|
10367
10379
|
|
|
@@ -14862,6 +14874,9 @@ msgstr ""
|
|
|
14862
14874
|
"\n"
|
|
14863
14875
|
"Dzięki tej procedurze nowy sprzęt będzie powiązany z danymi wytworzonymi przez sprzęt poprzedni."
|
|
14864
14876
|
|
|
14877
|
+
msgid "The feature \"Ignore case when logging in\" is not available."
|
|
14878
|
+
msgstr "Funkcja \"Ignoruj wielkość liter podczas logowania\" jest niedostępna."
|
|
14879
|
+
|
|
14865
14880
|
msgid "The file is empty."
|
|
14866
14881
|
msgstr "Plik jest pusty."
|
|
14867
14882
|
|
package/core/locales/pt_BR.po
CHANGED
|
@@ -3564,6 +3564,9 @@ msgstr "Não foi possível baixar o arquivo: o objeto com a ID \"{{ id }}\" não
|
|
|
3564
3564
|
msgid "Could not download the log file."
|
|
3565
3565
|
msgstr "Não foi possível baixar o arquivo de log."
|
|
3566
3566
|
|
|
3567
|
+
msgid "Could not enable the \"Ignore case when logging in\" feature. Duplicate usernames or aliases were detected when ignoring case sensitivity. Resolve conflicting names and try again."
|
|
3568
|
+
msgstr "Não foi possível ativar o recurso \"Ignorar maiúsculas e minúsculas ao fazer login\". Nomes de usuário ou aliases duplicados foram detectados ao ignorar a distinção entre maiúsculas e minúsculas. Resolva os nomes em conflito e tente novamente."
|
|
3569
|
+
|
|
3567
3570
|
msgid "Could not execute bulk operation on an empty group. Group with ID \"{{groupId}}\" has no child assets."
|
|
3568
3571
|
msgstr "Não é possível executar a operação em massa em um grupo vazio. O grupo com a ID \"{{groupId}}\" não tem ativos secundários."
|
|
3569
3572
|
|
|
@@ -7628,6 +7631,9 @@ msgstr "Se selecionado, ignorará valores vazios em todos os recursos abaixo."
|
|
|
7628
7631
|
msgid "If selected, it will process the result of the request using response templates."
|
|
7629
7632
|
msgstr "Se selecionado, processará o resultado da solicitação usando templates de resposta."
|
|
7630
7633
|
|
|
7634
|
+
msgid "If selected, the letter case of the username does not matter during login."
|
|
7635
|
+
msgstr "Se selecionada, as letras maiúsculas e minúsculas do nome de usuário não importam durante o login."
|
|
7636
|
+
|
|
7631
7637
|
msgid "If selected, then every request needs to use the same \"User-Agent\" header as the first request which initiated the session."
|
|
7632
7638
|
msgstr "Se selecionado, então cada solicitação precisa usar o mesmo cabeçalho\"User-Agent\" como a primeira solicitação que iniciou a sessão."
|
|
7633
7639
|
|
|
@@ -7637,6 +7643,9 @@ msgstr "Se o filtro estiver configurado, o firmware aparecerá para instalação
|
|
|
7637
7643
|
msgid "If the filter is set, the software will show up for installation only for devices of that type. If no filter is set, it will be available for all devices."
|
|
7638
7644
|
msgstr "Se o filtro estiver configurado, o software aparecerá para instalação apenas para dispositivos desse tipo. Se nenhum filtro estiver configurado, ele estará disponível para todos os dispositivos."
|
|
7639
7645
|
|
|
7646
|
+
msgid "Ignore case when logging in"
|
|
7647
|
+
msgstr "Ignorar maiúsculas e minúsculas ao fazer login"
|
|
7648
|
+
|
|
7640
7649
|
msgid "Ignore empty values"
|
|
7641
7650
|
msgstr "Ignorar valores vazios"
|
|
7642
7651
|
|
|
@@ -10338,6 +10347,9 @@ msgstr "Online"
|
|
|
10338
10347
|
msgid "Online`type of checking`"
|
|
10339
10348
|
msgstr "Online"
|
|
10340
10349
|
|
|
10350
|
+
msgid "Only a tenant administrator can configure the \"Ignore case when logging in\" option."
|
|
10351
|
+
msgstr "Somente um administrador de tenant pode configurar a opção \"Ignorar maiúsculas e minúsculas ao fazer login\"."
|
|
10352
|
+
|
|
10341
10353
|
msgid "Only active contracts with free slots are displayed."
|
|
10342
10354
|
msgstr "Somente são exibidos contratos com slots livres."
|
|
10343
10355
|
|
|
@@ -14836,6 +14848,9 @@ msgstr ""
|
|
|
14836
14848
|
"\n"
|
|
14837
14849
|
"Com este procedimento, o novo hardware pode continuar vinculado à informação que foi criada pelo seu antecessor."
|
|
14838
14850
|
|
|
14851
|
+
msgid "The feature \"Ignore case when logging in\" is not available."
|
|
14852
|
+
msgstr "O recurso \"Ignorar maiúsculas e minúsculas ao fazer login\" não está disponível."
|
|
14853
|
+
|
|
14839
14854
|
msgid "The file is empty."
|
|
14840
14855
|
msgstr "O arquivo está vazio."
|
|
14841
14856
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(
|
|
1
|
+
"use strict";!function(){function e(t,e,o,i,n,l){var s=this;function r(e){s.role=e,a();e=e.roles;e=(e||{}).references||[],s.selectedPermissions=_.map(e,"role.id")}function a(){i.listGlobalPermissions().then(c)}function c(e){s.permissions=e}function u(){s.globalRoleDetailForm.$setDirty()}function f(e){return s.saving=!0,e.finally(function(){s.saving=!1}),e}_.assign(s,{$onInit:function(){(function(){var e=s.id,n=s.duplicateId;("new"===e?function(e){var n=i.newGlobalRole(e);return n.then(function(){e&&l(u)}),n}(n):function(e){return o.global.detail(e).then(t.getResData)}(e)).then(r)})(),a()},STRINGS:i.STRINGS,helpLink:n.getUserGuideLink(i.STRINGS.LINKS.ROLES_INVENTORY),onSaveName:function(e){return f(i.saveGlobalRoleName(s.role,e))},cancel:i.list,save:function(){return f(i.saveGlobalRole(s.role,s.selectedPermissions))},hasAppPermissions:function(){var t=/^ROLE_APPLICATION/;return _.some(s.selectedPermissions,function(e,n){return e&&t.test(n)})},onSelectedRolesChange:function(e){s.selectedPermissions=e,u()}})}e.$inject=["c8yBase","c8yPermissions","c8yRoles","c8yRolesUi","c8yDocs","$timeout"],angular.module("c8y.roles").component("c8yRoleDetailGlobal",{templateUrl:":::PLUGIN_PATH:::/detail/roleDetailGlobal.html",bindings:{id:"<",duplicateId:"<",tabName:"<"},controllerAs:"vm",controller:e})}();
|
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
<c8y-breadcrumbs-set>
|
|
4
4
|
<c8y-breadcrumbs-item
|
|
5
|
-
icon="connected-people"
|
|
6
5
|
path="#roles/global_roles"
|
|
7
|
-
label="{{
|
|
6
|
+
label="{{ vm.tabName }}"
|
|
8
7
|
></c8y-breadcrumbs-item>
|
|
9
8
|
<c8y-breadcrumbs-item
|
|
10
|
-
icon="c8y-users"
|
|
11
|
-
path="#roles"
|
|
12
9
|
label="{{ 'Roles' | translate }}"
|
|
13
10
|
></c8y-breadcrumbs-item>
|
|
14
11
|
<c8y-breadcrumbs-item
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";!function(){function n(t,e,o,i,n){var
|
|
1
|
+
"use strict";!function(){function n(t,e,o,i,n){var a=this;function r(n){return a.saving=!0,n.finally(function(){a.saving=!1}),n}function l(n){return"SUPPORT"===n.name&&!a.isTopTenant}_.assign(a,{$onInit:function(){!function(){var n=a.id,e=a.duplicateId;("new"===n?i.newInventoryRole(e):o.detail(n).then(t.getResData)).then(function(n){a.role=n})}()},$onChanges:function(n){n.isTopTenant&&(a.permissionScopes=function(){var n=e.SCOPES.values();return _.reject(n,l)}())},STRINGS:i.STRINGS,helpLink:n.getUserGuideLink(i.STRINGS.LINKS.ROLES_INVENTORY),onSaveName:function(n){return r(i.saveInventoryRoleName(a.role,n))},cancel:i.list,save:function(){return r(i.saveInventoryRole(a.role))}})}n.$inject=["c8yBase","c8yPermissions","c8yRoles","c8yRolesUi","c8yDocs"],angular.module("c8y.roles").component("c8yRoleDetailInventory",{templateUrl:":::PLUGIN_PATH:::/detail/roleDetailInventory.html",bindings:{id:"<",duplicateId:"<",isTopTenant:"<",tabName:"<"},controllerAs:"vm",controller:n})}();
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
<c8y-breadcrumbs-set>
|
|
4
4
|
<c8y-breadcrumbs-item
|
|
5
|
-
path="#roles"
|
|
5
|
+
path="#roles/inventory_roles"
|
|
6
|
+
label="{{ vm.tabName }}"
|
|
7
|
+
></c8y-breadcrumbs-item>
|
|
8
|
+
<c8y-breadcrumbs-item
|
|
6
9
|
label="{{ 'Roles' | translate }}"
|
|
7
|
-
icon="c8y-users"
|
|
8
10
|
></c8y-breadcrumbs-item>
|
|
9
11
|
<c8y-breadcrumbs-item
|
|
10
|
-
|
|
11
|
-
label="{{ '
|
|
12
|
-
icon="insurance-agent"
|
|
12
|
+
icon="c8y-accounts"
|
|
13
|
+
label="{{ 'Accounts' | translate }}"
|
|
13
14
|
></c8y-breadcrumbs-item>
|
|
14
15
|
</c8y-breadcrumbs-set>
|
|
15
16
|
|
|
@@ -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:{roles:"<",addRole:"&",onRemove:"&",helpText:"<",onLoadNext:"&"},controllerAs:"vm",controller:e})}();
|
|
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 +1 @@
|
|
|
1
|
-
"use strict";!function(){function e(g,e,n){
|
|
1
|
+
"use strict";!function(){function e(g,e,n){v.$inject=["$rootScope","$location","$q","gettextCatalog","c8yBase","c8yTitle","c8yModal","c8yAlert","c8yRoles","c8yPermissions","c8yRolesUiStrings"],u.$inject=["$routeParams","c8yTenant"];var y="roles",b="roles/inventory_roles",R="".concat(y,"/global/:roleId"),w="".concat(y,"/inventory/:roleId"),t="c8y-users",o=g("Global roles"),a={priority:1e3,icon:"connected-people",template:"<c8y-roles-list tab-name=\"'".concat(o,'\' | translate" roles="vm.globalRoles" help-text="vm.globalHelpText" on-remove="vm.onRemove(role, vm.globalRoles)" add-role="vm.add(\'global\')" on-load-next="vm.loadNext(\'global\')"></c8y-roles-list>'),name:o,controller:"c8yRolesOverviewCtrl",controllerAs:"vm"},r=g("Inventory roles"),l={icon:"insurance-agent",template:"<c8y-roles-list tab-name=\"'".concat(r,'\' | translate" roles="vm.inventoryRoles" help-text="vm.inventoryHelpText" on-remove="vm.onRemove(role, vm.inventoryRoles)" add-role="vm.add(\'inventory\')" on-load-next="vm.loadNext(\'inventory\')"></c8y-roles-list>'),name:r,controller:"c8yRolesOverviewCtrl",controllerAs:"vm"},i={template:"<c8y-role-detail-global tab-name=\"'".concat(o,'\' | translate" id="vm.params.roleId" duplicate-id="vm.params.duplicate"></c8y-role-global-global>')},c={template:"<c8y-role-detail-inventory tab-name=\"'".concat(r,'\' | translate" id="vm.params.roleId" duplicate-id="vm.params.duplicate" is-top-tenant="vm.isTopTenant"></c8y-role-detail-inventory>')},s={controllerAs:"vm",controller:u};function u(e,n){var t=this;_.assign(t,{isTopTenant:!1,params:e}),n.isCurrentUserTopTenant().then(function(e){t.isTopTenant=e})}var T=["READ","ADMIN","CREATE","UPDATE"],E="ROLE_USER_MANAGEMENT_ADMIN",m=["ROLE_USER_MANAGEMENT_READ",E];function d(){e.when("/".concat(y),a),e.when("/".concat(y),l),e.when("/".concat(R),_.assign(i,s)),e.when("/".concat(w),_.assign(c,s))}function v(a,t,r,l,o,e,i,c,s,n,u){return{ROUTE_LIST:y,STRINGS:u,listGlobalPermissions:function(){return n.listGlobal().then(function(e){return _.filter(e,function(e){return _.includes(T,e.access)})})},list:m,setListTitle:function(){e.changeTitle({title:g("Roles")})},add:d,edit:function(e){var n=s.isGlobal(e)?R:w;return function(e,n){e=o.getId(e),n=n.replace(/:\w+/,e);return t.search("duplicate",null),t.path(n)}(e,n)},duplicate:function(e){d(s.isGlobal(e)?"global":"inventory",e.id)},removeAfterConfirmation:function(e){var n={title:g("Delete role"),body:l.getString('You are about to delete role "{{name}}". Do you want to proceed?',e),labels:{ok:g("Delete")},status:"danger"},n=i(n),t=_.partial(s.remove,e),o=_.partial(s.global.remove,e),e=s.isGlobal(e)?o:t;return n.then(e).then(function(){return c.success(g("Role deleted."))}).catch(function(e){var n=_.get(e,"status");return n&&(422===n?c.warning(g("Role cannot be deleted because it is assigned to users.")):(n=e,n=_.get(n,"data",n),a.$emit("alert",{type:"danger",text:$("<div/>").text(l.getString(n.message)).html(),detailedData:n}))),r.reject(e)})},canCreate:function(){return n.hasAnyRole([E])},newInventoryRole:function(e){var n=r.when({name:l.getString("New inventory role"),permissions:[]});e&&(n=s.detail(e).then(function(e){var e=e.data,n={};return n.name="".concat(e.name," 2"),n.permissions=_.map(e.permissions,function(e){return _.omit(e,["id"])}),n}));return n},saveInventoryRole:function(e){var n=r.when();e.id||(n=v(e,e.name).catch(h(e.name)));return n.then(_.partial(s.save,e)).then(function(){return c.success(g("Inventory role saved."))}).then(m)},saveInventoryRoleName:function(n,t){return v(n,t).then(function(){var e;return n.id?e=s.update({id:n.id,name:t}).then(function(e){return n.name=t,e}):n.name=t,e},h(t))},newGlobalRole:function(e){var n=r.when({name:l.getString("New global role")});e&&(n=s.global.detail(e).then(function(e){e=_.pick(e.data,["name","roles","applications"]);return e.name+=" 2",e}));return n},saveGlobalRole:function(n,t){return(n.id?function(){var e=a.$new(!0);return e.role=n,i({templateUrl:":::PLUGIN_PATH:::/detail/roleGlobalSaveConfirm.html",title:g("Confirm saving changes?"),scope:e})}():r.when()).then(function(){var e=r.when();return(e=n.id?e:f(n,n.name).catch(h(n.name))).then(_.partial(s.global.save,n))}).then(function(e){return s.global.updateRoles(e,t)}).then(function(){return c.success(g("Global role saved."))}).then(m)},saveGlobalRoleName:function(n,t){return f(n,t).then(function(){var e=r.when();return n.id?e=s.global.update({id:n.id,name:t}).then(function(e){return n.name=t,e}):n.name=t,e},h(t))},isUndeletable:function(e){return s.isGlobal(e)&&("admins"===_.lowerCase(e.name)||"devices"===_.lowerCase(e.name)||n.hasRole(e,"ROLE_NO_DELETE"))}};function m(){var e=new RegExp("\\/roles\\/inventory\\/(\\w+)"),e=t.path().match(e),e="/".concat(e?b:y);t.path(e),t.search("duplicate",null)}function d(e,n){e=("global"===e?R:w).replace(/:\w+/,"new");t.path(e),n&&t.search("duplicate",n)}function v(n,t){return s.list().then(function(e){return p(e,n,t)})}function p(e,n,t){e=_.filter(e,function(e){return e.id!==n.id});return _.some(e,{name:t})&&r.reject({duplicate:!0})}function h(n){return function(e){return _.get(e,"duplicate")&&c.danger(l.getString('There is already a role with the name "{{name}}"',{name:n})),r.reject()}}function f(n,t){return s.global.list().then(function(e){return p(e,n,t)})}}return{$get:v,init:function(){d(),n.addNavigation({name:g("Roles"),parent:g("Accounts"),routerLinkExact:!1,priority:4900,path:y,icon:t,showIfPermissions:{anyRole:m}})},hookViews:d}}e.$inject=["gettext","c8yViewsProvider","c8yNavigatorProvider"],angular.module("c8y.roles").provider("c8yRolesUi",e)}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){_defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:String(e)}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,s,
|
|
1
|
+
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){_defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:String(e)}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var r;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):"Map"===(r="Object"===(r=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,s,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}!function(){function e(e,t,r,n,o,i,s,a,l,c){var u=this,y=c("You cannot edit inventory roles for user with external origin, since it is managed via your authorization server.");function f(){t.listInventoryRoles(u.userId).then(r.getResData).then(function(e){u.assignedRoles=_.keyBy(e.inventoryAssignments,"managedObject")}),t.detail(u.userId).then(r.getResData).then(function(e){u.user=e,u.user.owner?t.listInventoryRoles(u.user.owner).then(r.getResData).then(function(e){u.ownerAssignedRoles=_.keyBy(e.inventoryAssignments,"managedObject"),_.isEmpty(u.ownerAssignedRoles)&&(u.displayNoOwnerRolesAlert=!0),u.failedToFetchOwnerInventoryRoles=!1}).catch(function(){u.failedToFetchOwnerInventoryRoles=!0}):u.failedToFetchOwnerInventoryRoles=!1})}function d(){f(),a.success(l.getPlural(p(),"Inventory role updated","Inventory roles updated",{}))}function p(){return _.filter(u.assignedRoles,"isModified").length}function g(e){var t="replace"===e.process,e=e.roles,r=_.map(u.assignedRoles);return n.copyUserRoles(e,r,u.userId,t).then(f).then(o.successUserRolesCopy)}_.assign(u,{$onInit:function(){t.detail(u.userId).then(r.getResData).then(function(e){return t.hasExternalOrigin(e)?s.isSsoClearingUserRolesOnEveryLogin().then(function(e){return u.disableEditForExternalUsers=e,u.disableEditForExternalUsers&&a.warning(y),u.disableEditForExternalUsers}):u.disableEditForExternalUsers=!1})},$onChange:function(e){e.user&&f()},onChangeRoles:function(e){var t=e.roles,e=e.managedObjectId;u.assignedRoles[e]=u.assignedRoles[e]||{},_.assign(u.assignedRoles[e],{managedObject:e,roles:t,isModified:!0}),u.assignedRoles=_objectSpread({},u.assignedRoles)},onSaveInventoryRoles:function(){n.onSaveInventoryRoles(u.userId,u.assignedRoles).then(d)},copyRoles:function(){o.copyFromUserDialog(u.userId).then(g)},loadAssignedRoles:f,isUnchanged:function(){return 0===p()},pageSize:20,scrollToTop:function(){var e=_slicedToArray(angular.element(document.querySelector("#inventory-roles-container")),1)[0];e&&e.scrollTo(0,0)},helpLink:i.getUserGuideLink(_.get(o.STRINGS,"LINKS.ROLES_INVENTORY")),stopEventPropagation:function(e){e.stopPropagation()},displayNoOwnerRolesAlert:!1,failedToFetchOwnerInventoryRoles:null,disableEditForExternalUsers:!1}),f()}e.$inject=["$q","c8yUser","c8yBase","c8yUserInventoryRoles","c8yUserRolesUi","c8yDocs","c8yLoginOptions","c8yAlert","gettextCatalog","gettext"],angular.module("c8y.userRoles").component("c8yUserInventoryRolesTab",{templateUrl:":::PLUGIN_PATH:::/inventoryRolesTab/inventoryRolesTab.html",controllerAs:"vm",controller:e,bindings:{userId:"<"}})}();
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
title="{{ 'Copy inventory roles from another user' | translate }}"
|
|
86
86
|
type="button"
|
|
87
87
|
ng-click="vm.copyRoles()"
|
|
88
|
+
ng-disabled="vm.disableEditForExternalUsers"
|
|
88
89
|
>
|
|
89
90
|
<i c8y-icon="clipboard"></i>
|
|
90
91
|
{{ 'Copy inventory roles from another user' | translate }}
|
|
@@ -164,7 +165,7 @@
|
|
|
164
165
|
class="btn btn-primary"
|
|
165
166
|
title="{{ 'Save' | translate }}"
|
|
166
167
|
type="submit"
|
|
167
|
-
ng-disabled="vm.isUnchanged()"
|
|
168
|
+
ng-disabled="vm.disableEditForExternalUsers || vm.isUnchanged()"
|
|
168
169
|
ng-click="vm.onSaveInventoryRoles()"
|
|
169
170
|
>
|
|
170
171
|
{{ 'Save' | translate }}
|