@c8y/ng1-modules 1020.26.4 → 1020.27.0
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 +2 -2
- package/core/locales/es.po +2 -2
- package/core/locales/fr.po +2 -2
- package/core/locales/ja_JP.po +2 -2
- package/core/locales/nl.po +2 -2
- package/core/locales/pl.po +2 -2
- package/core/locales/pt_BR.po +2 -2
- package/package.json +1 -1
- package/roles/rolesUi.provider.js +1 -1
package/core/locales/de.po
CHANGED
|
@@ -12635,8 +12635,8 @@ msgstr "Verschiebt das Dezimalzeichen um die angegebene Anzahl an Stellen nach r
|
|
|
12635
12635
|
msgid "Right shift`noun`"
|
|
12636
12636
|
msgstr "Rechts-Shift"
|
|
12637
12637
|
|
|
12638
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12639
|
-
msgstr "Die Rolle kann nicht gelöscht werden,
|
|
12638
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12639
|
+
msgstr "Die Rolle \"{{ roleName }}\" kann nicht gelöscht werden, da sie einer dynamischen Rechtezuordnung in der Single Sign-On-Konfiguration zugewiesen ist."
|
|
12640
12640
|
|
|
12641
12641
|
msgid "Role deleted."
|
|
12642
12642
|
msgstr "Rolle gelöscht."
|
package/core/locales/es.po
CHANGED
|
@@ -12665,8 +12665,8 @@ msgstr "Separador decimal a la derecha el número de posiciones indicado."
|
|
|
12665
12665
|
msgid "Right shift`noun`"
|
|
12666
12666
|
msgstr "Margen derecho"
|
|
12667
12667
|
|
|
12668
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12669
|
-
msgstr "El rol no se puede eliminar porque está asignado a
|
|
12668
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12669
|
+
msgstr "El rol \"{{ roleName }}\" no se puede eliminar porque está asignado a una asignación de acceso dinámica en la configuración de inicio de sesión único."
|
|
12670
12670
|
|
|
12671
12671
|
msgid "Role deleted."
|
|
12672
12672
|
msgstr "Rol eliminado."
|
package/core/locales/fr.po
CHANGED
|
@@ -12665,8 +12665,8 @@ msgstr "Décalez la décimale à droite du nombre de places indiqué."
|
|
|
12665
12665
|
msgid "Right shift`noun`"
|
|
12666
12666
|
msgstr "Décaler à droite"
|
|
12667
12667
|
|
|
12668
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12669
|
-
msgstr "Le rôle ne peut pas être supprimé car il est affecté à
|
|
12668
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12669
|
+
msgstr "Le rôle \"{{ roleName }}\" ne peut pas être supprimé car il est affecté à un mappage d'accès dynamique dans la configuration de la connexion unique."
|
|
12670
12670
|
|
|
12671
12671
|
msgid "Role deleted."
|
|
12672
12672
|
msgstr "Rôle supprimé."
|
package/core/locales/ja_JP.po
CHANGED
|
@@ -12659,8 +12659,8 @@ msgstr "指定した少数位数で小数点を右方向にシフト。"
|
|
|
12659
12659
|
msgid "Right shift`noun`"
|
|
12660
12660
|
msgstr "右シフト"
|
|
12661
12661
|
|
|
12662
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12663
|
-
msgstr "
|
|
12662
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12663
|
+
msgstr "ロール「{{ roleName }}」はシングルサインオン構成の動的アクセスマッピングに割り当てられているため、削除できません。"
|
|
12664
12664
|
|
|
12665
12665
|
msgid "Role deleted."
|
|
12666
12666
|
msgstr "ロールは削除されました。"
|
package/core/locales/nl.po
CHANGED
|
@@ -12664,8 +12664,8 @@ msgstr "De decimale komma met het gegeven aantal posities naar rechts verplaatse
|
|
|
12664
12664
|
msgid "Right shift`noun`"
|
|
12665
12665
|
msgstr "Rechtsverschuiving"
|
|
12666
12666
|
|
|
12667
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12668
|
-
msgstr "Rol kan niet worden
|
|
12667
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12668
|
+
msgstr "Rol \"{{ roleName }}\" kan niet worden verwijderd omdat deze is toegewezen aan een Dynamische toegangstoewijzing in de configuratie Single sign-on."
|
|
12669
12669
|
|
|
12670
12670
|
msgid "Role deleted."
|
|
12671
12671
|
msgstr "Rol verwijderd."
|
package/core/locales/pl.po
CHANGED
|
@@ -12688,8 +12688,8 @@ msgstr "Przesuń separator dziesiętny w prawo o podaną liczbę miejsc."
|
|
|
12688
12688
|
msgid "Right shift`noun`"
|
|
12689
12689
|
msgstr "Przesunięcie w prawo"
|
|
12690
12690
|
|
|
12691
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12692
|
-
msgstr "Nie można usunąć roli, ponieważ jest przypisana do
|
|
12691
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12692
|
+
msgstr "Nie można usunąć roli \"{{ roleName }}}\", ponieważ jest ona przypisana do Dynamicznego mapowania dostępu w konfiguracji logowania jednokrotnego."
|
|
12693
12693
|
|
|
12694
12694
|
msgid "Role deleted."
|
|
12695
12695
|
msgstr "Usunięto rolę."
|
package/core/locales/pt_BR.po
CHANGED
|
@@ -12664,8 +12664,8 @@ msgstr "Deslocar o ponto decimal para a direita no número de posições especif
|
|
|
12664
12664
|
msgid "Right shift`noun`"
|
|
12665
12665
|
msgstr "Deslocar para a direita"
|
|
12666
12666
|
|
|
12667
|
-
msgid "Role cannot be deleted because it is assigned to
|
|
12668
|
-
msgstr "O papel não pode ser excluído porque está atribuído a
|
|
12667
|
+
msgid "Role \"{{ roleName }}\" cannot be deleted because it is assigned to a dynamic access mapping in Single sign-on configuration."
|
|
12668
|
+
msgstr "O papel \"{{ roleName }}\" não pode ser excluído porque está atribuído a um mapeamento de acesso dinâmico na configuração de Single sign-on."
|
|
12669
12669
|
|
|
12670
12670
|
msgid "Role deleted."
|
|
12671
12671
|
msgstr "Papel excluído."
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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;return _.get(e,"status")&&(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)}();
|