Browse Source

Address Copilot review feedback

pull/25357/head
maliming 3 weeks ago
parent
commit
b5aed59ea9
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ar.json
  2. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/cs.json
  3. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/de.json
  4. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/el.json
  5. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en-GB.json
  6. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json
  7. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/es.json
  8. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/fa.json
  9. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/fi.json
  10. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/fr.json
  11. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/hi.json
  12. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/hr.json
  13. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/hu.json
  14. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/is.json
  15. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/it.json
  16. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/nl.json
  17. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pl-PL.json
  18. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pt-BR.json
  19. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ro-RO.json
  20. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ru.json
  21. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/sk.json
  22. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/sl.json
  23. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/sv.json
  24. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/tr.json
  25. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/vi.json
  26. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json
  27. 2
      modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hant.json
  28. 13
      modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/OrganizationUnitManager_Tests.cs

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ar.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "لا يمكنك تغيير إعداد العاملين.",
"Volo.Abp.Identity:010008": "لا يجوز تغيير إعداد عاملين.",
"Volo.Abp.Identity:010009": "لا يمكنك تفويض نفسك.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "الوحدة التنظيمية الأصل ('{ParentId}') غير موجودة أو تنتمي إلى مستأجر آخر.",
"Volo.Abp.Identity:010021": "الاسم {0} موجود بالفعل.",
"Volo.Abp.Identity:010022": "لا يمكن تحديث نوع المطابقة.",
"Volo.Abp.Identity:010023": "لا يمكن حذف نوع المطابقة.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/cs.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Nastavení dvou faktorů nemůžete změnit.",
"Volo.Abp.Identity:010008": "Není povoleno měnit nastavení dvou faktorů.",
"Volo.Abp.Identity:010009": "Nemůžete delegovat své vlastní oprávnění.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Nadřazená organizační jednotka ('{ParentId}') neexistuje nebo patří jinému tenantovi.",
"Volo.Abp.Identity:010021": "Název '{0}' již existuje.",
"Volo.Abp.Identity:010022": "Nelze aktualizovat statický typ deklarace.",
"Volo.Abp.Identity:010023": "Nelze smazat statický typ deklarace.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/de.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Sie können Ihre Zwei-Faktor-Einstellung nicht ändern.",
"Volo.Abp.Identity:010008": "Die Zwei-Faktor-Einstellung dürfen nicht geändert werden.",
"Volo.Abp.Identity:010009": "Sie können sich nicht selbst delegieren.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Die übergeordnete Organisationseinheit ('{ParentId}') existiert nicht oder gehört zu einem anderen Mandanten.",
"Volo.Abp.Identity:010021": "Der Name existiert bereits {0}",
"Volo.Abp.Identity:010022": "Der Name kann nicht aktualisiert werden.",
"Volo.Abp.Identity:010023": "Der Name kann nicht gelöscht werden.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/el.json

@ -76,7 +76,7 @@
"Volo.Abp.Identity:010007": "Δεν μπορείτε να αλλάξετε τη ρύθμιση δύο παραγόντων.",
"Volo.Abp.Identity:010008": "Δεν επιτρέπεται η αλλαγή της ρύθμισης δύο παραγόντων.",
"Volo.Abp.Identity:010009": "Δεν μπορείτε να αναθέσετε την εξουσιοδότησή σας σε εσάς ίδιο.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Η γονική μονάδα οργάνωσης ('{ParentId}') δεν υπάρχει ή ανήκει σε διαφορετικό μισθωτή.",
"Volo.Abp.Identity:010021": "Το όνομα '{0}' υπάρχει ήδη.",
"Volo.Abp.Identity:010022": "Δεν μπορείτε να ενημερώσετε ένα στατικό τύπο δήλωσης.",
"Volo.Abp.Identity:010023": "Δεν μπορείτε να διαγράψετε ένα στατικό τύπο δήλωσης.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en-GB.json

@ -76,7 +76,7 @@
"Volo.Abp.Identity:010007": "You can't change your two factor setting.",
"Volo.Abp.Identity:010008": "Changing the two factor setting is not allowed.",
"Volo.Abp.Identity:010009": "You cannot delegate yourself!",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "The parent organisation unit ('{ParentId}') does not exist or belongs to a different tenant.",
"Volo.Abp.Identity:010021": "Name exist: '{0}'",
"Volo.Abp.Identity:010022": "Can not update a static ClaimType.",
"Volo.Abp.Identity:010023": "Can not delete a static ClaimType.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/en.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "You can't change your two factor setting.",
"Volo.Abp.Identity:010008": "It's not allowed to change two factor setting.",
"Volo.Abp.Identity:010009": "You can not delegate yourself.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist or belongs to a different tenant.",
"Volo.Abp.Identity:010021": "Name exist: '{0}'.",
"Volo.Abp.Identity:010022": "Can not update a static ClaimType.",
"Volo.Abp.Identity:010023": "Can not delete a static ClaimType.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/es.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "No puedes cambiar tu configuración de autentificación de dos pasos.",
"Volo.Abp.Identity:010008": "No está permitido cambiar la configuración de autenticación de dos pasos.",
"Volo.Abp.Identity:010009": "No puedes delegar tu propia cuenta!",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "La unidad organizativa padre ('{ParentId}') no existe o pertenece a otro inquilino.",
"Volo.Abp.Identity:010021": "Ya existe un con el nombre '{0}'",
"Volo.Abp.Identity:010022": "No se puede actualizar un tipo de reclamación estática.",
"Volo.Abp.Identity:010023": "No se puede borrar un tipo de reclamación estática.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/fa.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "شما نمی توانید تنظیمات دو مرحله ای خود را تغییر دهید.",
"Volo.Abp.Identity:010008": "تغییر دادن تنظیمات دو مرحله ای مجاز نمی باشد.",
"Volo.Abp.Identity:010009": "شما نمی توانید خودتان را معرفی کنید.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "واحد سازمانی والد ('{ParentId}') وجود ندارد یا متعلق به مستاجر دیگری است.",
"Volo.Abp.Identity:010021": "نام {0} قبلاً استفاده گردیده است.",
"Volo.Abp.Identity:010022": "نمی توان نام نقش/وظیفه را تغییر داد.",
"Volo.Abp.Identity:010023": "نمی توان نقش/وظیفه را حذف کرد.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/fi.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Et voi muuttaa kahden tekijän asetusta.",
"Volo.Abp.Identity:010008": "Kahden tekijän asetusta ei saa muuttaa.",
"Volo.Abp.Identity:010009": "Et voi delegoida itseäsi.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Ylätason organisaatioyksikköä ('{ParentId}') ei ole olemassa tai se kuuluu toiselle vuokralaiselle.",
"Volo.Abp.Identity:010021": "{0} on jo olemassa.",
"Volo.Abp.Identity:010022": "Staattista väittämätunnusta ei voi päivittää.",
"Volo.Abp.Identity:010023": "Staattista väittämätunnusta ei voi poistaa.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/fr.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Vous ne pouvez pas modifier votre paramètre à deux facteurs.",
"Volo.Abp.Identity:010008": "Il n’est pas permis de changer deux facteurs de réglage.",
"Volo.Abp.Identity:010009": "Vous ne pouvez pas vous déléguer vous-même.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "L'unité d'organisation parente ('{ParentId}') n'existe pas ou appartient à un autre locataire.",
"Volo.Abp.Identity:010021": "Le nom '{0}' existe déjà.",
"Volo.Abp.Identity:010022": "Vous ne pouvez pas modifier un type de revendication statique.",
"Volo.Abp.Identity:010023": "Vous ne pouvez pas supprimer un type de revendication statique.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/hi.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "आप अपनी दो कारक सेटिंग नहीं बदल सकते।",
"Volo.Abp.Identity:010008": "इसे दो कारक सेटिंग बदलने की अनुमति नहीं है।",
"Volo.Abp.Identity:010009": "आप अपने आप को अधिकृत नहीं कर सकते हैं!",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "मूल संगठन इकाई ('{ParentId}') मौजूद नहीं है या किसी अन्य किरायेदार की है।",
"Volo.Abp.Identity:010021": "नाम '{0}' पहले से ही लिया गया है।",
"Volo.Abp.Identity:010022": "स्थैतिक भूमिकाओं का नाम नहीं बदला जा सकता है।",
"Volo.Abp.Identity:010023": "स्थैतिक भूमिकाओं को हटाया नहीं जा सकता।",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/hr.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Ne možete promijeniti postavku dva faktora.",
"Volo.Abp.Identity:010008": "Nije dopušteno mijenjati postavke dvofaktorske autentifikacije.",
"Volo.Abp.Identity:010009": "Ne možete delegirati sami sebi.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Nadređena organizacijska jedinica ('{ParentId}') ne postoji ili pripada drugom najmoprimcu.",
"Volo.Abp.Identity:010021": "Naziv '{0}' već postoji.",
"Volo.Abp.Identity:010022": "Ne možete ažurirati statički tip deklaracije.",
"Volo.Abp.Identity:010023": "Ne možete izbrisati statički tip deklaracije.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/hu.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Nem változtathatja meg a kétlépcsős bejelentkezés beállítását.",
"Volo.Abp.Identity:010008": "Kétlépcsős bejelentkezés beállítás megváltoztatása nem megengedett.",
"Volo.Abp.Identity:010009": "Nem adhatja át a saját jogosultságait.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "A szülő szervezeti egység ('{ParentId}') nem létezik, vagy egy másik bérlőhöz tartozik.",
"Volo.Abp.Identity:010021": "'{0}' nevű már létezik.",
"Volo.Abp.Identity:010022": "Nem lehet frissíteni a statikus jogosultság típusát.",
"Volo.Abp.Identity:010023": "Nem lehet törölni a statikus jogosultság típusát.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/is.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Þú getur ekki breytt tveggja þátta stillingu þinni.",
"Volo.Abp.Identity:010008": "Það er ekki leyfilegt að breyta tvíþátta stillingu.",
"Volo.Abp.Identity:010009": "Þú getur ekki delegað þér sjálfum.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Yfirskipulagseiningin ('{ParentId}') er ekki til eða tilheyrir öðrum leigjanda.",
"Volo.Abp.Identity:010021": "Nafnið '{0}' er þegar í notkun.",
"Volo.Abp.Identity:010022": "Ekki er hægt að breyta static hlutverk.",
"Volo.Abp.Identity:010023": "Ekki er hægt að eyða static hlutverkum.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/it.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Non puoi modificare l'impostazione dei due fattori.",
"Volo.Abp.Identity:010008": "Non è consentito modificare l'impostazione a due fattori.",
"Volo.Abp.Identity:010009": "Non puoi delegare te stesso.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "L'unità organizzativa padre ('{ParentId}') non esiste o appartiene a un altro tenant.",
"Volo.Abp.Identity:010021": "Il nome '{0}' è già in uso.",
"Volo.Abp.Identity:010022": "Non puoi modificare il tipo di richiesta statica.",
"Volo.Abp.Identity:010023": "Non puoi eliminare il tipo di richiesta statica.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/nl.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "U kunt uw instelling voor tweefactor authenticatie niet wijzigen.",
"Volo.Abp.Identity:010008": "Het is niet toegestaan om de instelling van tweefactor authenticatie te wijzigen.",
"Volo.Abp.Identity:010009": "U kunt uzelf niet delegeren.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "De bovenliggende organisatie-eenheid ('{ParentId}') bestaat niet of behoort tot een andere tenant.",
"Volo.Abp.Identity:010021": "Er bestaat al een met de naam '{0}'.",
"Volo.Abp.Identity:010022": "Kan de naam van een statische claim niet wijzigen.",
"Volo.Abp.Identity:010023": "Kan de naam van een statische claim niet verwijderen.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pl-PL.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Nie możesz zmienić ustawienia dwóch czynników.",
"Volo.Abp.Identity:010008": "Nie wolno zmieniać ustawienia dwuczynnikowego.",
"Volo.Abp.Identity:010009": "Nie możesz delegować swoich uprawnień.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Nadrzędna jednostka organizacyjna ('{ParentId}') nie istnieje lub należy do innego dzierżawcy.",
"Volo.Abp.Identity:010021": "Nazwa '{0}' już istnieje.",
"Volo.Abp.Identity:010022": "Nie można zmienić typu statycznej deklaracji.",
"Volo.Abp.Identity:010023": "Nie można usunąć typu statycznej deklaracji.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/pt-BR.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Você não pode alterar sua configuração de dois fatores.",
"Volo.Abp.Identity:010008": "Não é permitido alterar a configuração de dois fatores.",
"Volo.Abp.Identity:010009": "Você não pode delegar a si mesmo.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "A unidade organizacional pai ('{ParentId}') não existe ou pertence a outro inquilino.",
"Volo.Abp.Identity:010021": "Já existe um(a) {0} com o nome.",
"Volo.Abp.Identity:010022": "Não é possível alterar o tipo de declaração estática.",
"Volo.Abp.Identity:010023": "Não é possível excluir o tipo de declaração estática.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ro-RO.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Nu vă puteţi schimba setările de autentificare în doi paşi.",
"Volo.Abp.Identity:010008": "Nu este permisă modificarea setărilor autentificării în doi paşi.",
"Volo.Abp.Identity:010009": "Nu vă puteţi delega singur.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Unitatea organizațională părinte ('{ParentId}') nu există sau aparține unui alt chiriaș.",
"Volo.Abp.Identity:010021": "Numele '{0}' este deja luat.",
"Volo.Abp.Identity:010022": "Nu poate fi schimbată tipul de declaraţie statică.",
"Volo.Abp.Identity:010023": "Nu poate fi ştersă declaraţia statică.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/ru.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Вы не можете изменить настройку двух факторов.",
"Volo.Abp.Identity:010008": "Изменение двухфакторной настройки не допускается.",
"Volo.Abp.Identity:010009": "Вы не можете делегировать свои собственные права.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Родительское организационное подразделение ('{ParentId}') не существует или принадлежит другому арендатору.",
"Volo.Abp.Identity:010021": "Имя '{0}' уже существует.",
"Volo.Abp.Identity:010022": "Невозможно изменить тип статической декларации.",
"Volo.Abp.Identity:010023": "Невозможно удалить тип статической декларации.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/sk.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Dvojfaktorové nastavenie nie je možné zmeniť.",
"Volo.Abp.Identity:010008": "Dvojfaktorové nastavenie nie je povolené zmeniť.",
"Volo.Abp.Identity:010009": "Nemôžete delegovať svoje vlastné oprávnenia.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Nadradená organizačná jednotka ('{ParentId}') neexistuje alebo patrí inému nájomcovi.",
"Volo.Abp.Identity:010021": "Názov '{0}' sa už používa.",
"Volo.Abp.Identity:010022": "Nie je možné zmeniť typ statického oprávnenia.",
"Volo.Abp.Identity:010023": "Nie je možné odstrániť typ statického oprávnenia.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/sl.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Nastavitve dveh faktorjev ne morete spremeniti.",
"Volo.Abp.Identity:010008": "Ni dovoljeno spreminjati nastavitve dveh faktorjev.",
"Volo.Abp.Identity:010009": "Ne morete delegirati svojih pravic.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Nadrejena organizacijska enota ('{ParentId}') ne obstaja ali pripada drugemu najemniku.",
"Volo.Abp.Identity:010021": "Naziv '{0}' že obstaja.",
"Volo.Abp.Identity:010022": "Ne morete spremeniti tipa statične deklaracije.",
"Volo.Abp.Identity:010023": "Ne morete izbrisati tipa statične deklaracije.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/sv.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Du kan inte ändra din tvåfaktorsinställning.",
"Volo.Abp.Identity:010008": "Det är inte tillåtet att ändra inställningen för två faktorer.",
"Volo.Abp.Identity:010009": "Du kan inte delegera dig själv.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Den överordnade organisationsenheten ('{ParentId}') finns inte eller tillhör en annan klient.",
"Volo.Abp.Identity:010021": "Namn finns: '{0}'.",
"Volo.Abp.Identity:010022": "Kan inte ändra statiskt område.",
"Volo.Abp.Identity:010023": "Kan inte ta bort statiskt område.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/tr.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "İki faktörlü ayarınızı değiştiremezsiniz.",
"Volo.Abp.Identity:010008": "İki faktörlü ayarın değiştirilmesine izin verilmez.",
"Volo.Abp.Identity:010009": "Kendinizi yetkilendiremezsiniz.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Üst birim ('{ParentId}') mevcut değil veya farklı bir kiracıya ait.",
"Volo.Abp.Identity:010021": "{0} isminde bir birim zaten var.",
"Volo.Abp.Identity:010022": "Bir statik izin tipi değiştirilemez.",
"Volo.Abp.Identity:010023": "Bir statik izin tipi silinemez.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/vi.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "Bạn không thể thay đổi cài đặt hai yếu tố của mình.",
"Volo.Abp.Identity:010008": "Không được phép thay đổi cài đặt hai yếu tố.",
"Volo.Abp.Identity:010009": "Bạn không thể ủy quyền cho chính mình.",
"Volo.Abp.Identity:010010": "The parent organization unit ('{ParentId}') does not exist in the current tenant.",
"Volo.Abp.Identity:010010": "Đơn vị tổ chức cha ('{ParentId}') không tồn tại hoặc thuộc về một thuê khác.",
"Volo.Abp.Identity:010021": "Tên '{0}' đã tồn tại.",
"Volo.Abp.Identity:010022": "Không thể thay đổi kiểu của phát biểu tĩnh.",
"Volo.Abp.Identity:010023": "Không thể xóa phát biểu tĩnh.",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hans.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "你不能修改你的双因素身份验证设置",
"Volo.Abp.Identity:010008": "不允许修改双因素身份验证设置。",
"Volo.Abp.Identity:010009": "你不能委托给自己。",
"Volo.Abp.Identity:010010": "父组织单元 ('{ParentId}') 在当前租户中不存在.",
"Volo.Abp.Identity:010010": "父组织单元 ('{ParentId}') 不存在或属于其他租户.",
"Volo.Abp.Identity:010021": "名称:'{0}' 已存在",
"Volo.Abp.Identity:010022": "不能更改静态声明的类型。",
"Volo.Abp.Identity:010023": "不能删除静态声明的类型。",

2
modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/Identity/Localization/zh-Hant.json

@ -77,7 +77,7 @@
"Volo.Abp.Identity:010007": "你不能修改你的雙因素身份驗證設置",
"Volo.Abp.Identity:010008": "不允許修改雙因素身份驗證設置.",
"Volo.Abp.Identity:010009": "你不能委派給自己",
"Volo.Abp.Identity:010010": "父組織單元 ('{ParentId}') 在目前的租戶中不存在.",
"Volo.Abp.Identity:010010": "父組織單元 ('{ParentId}') 不存在或屬於其他租戶.",
"Volo.Abp.Identity:010021": "名稱 '{0}' 已存在.",
"Volo.Abp.Identity:010022": "無法更改靜態宣告的類型.",
"Volo.Abp.Identity:010023": "無法刪除靜態宣告的類型.",

13
modules/identity/test/Volo.Abp.Identity.Domain.Tests/Volo/Abp/Identity/OrganizationUnitManager_Tests.cs

@ -156,4 +156,17 @@ public class OrganizationUnitManager_Tests : AbpIdentityDomainTestBase
ex.Code.ShouldBe(IdentityErrorCodes.OrganizationUnitParentTenantMismatch);
}
}
[Fact]
public async Task Should_Not_Create_Organization_Unit_From_Host_With_Cross_Tenant_Parent()
{
var hostOu = await _organizationUnitRepository.GetAsync("OU1");
var newOu = new OrganizationUnit(_guidGenerator.Create(), "ForeignTenantOu", hostOu.Id, Guid.NewGuid());
var ex = await Assert.ThrowsAsync<BusinessException>(
async () => await _organizationUnitManager.CreateAsync(newOu));
ex.Code.ShouldBe(IdentityErrorCodes.OrganizationUnitParentTenantMismatch);
}
}

Loading…
Cancel
Save