mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 05:47:33 +00:00
fix(org): adding unique constrants to not allow an org to be added twice with same id (#10243)
# Which Problems Are Solved When adding 2 orgs with the same ID, you get a positive response from the API, later when the org is projected, it errors due to the id already in use # How the Problems Are Solved Check org with orgID specified does not already exist before adding events # Additional Changes Added additional test case for adding same org with same name twice # Additional Context - Closes https://github.com/zitadel/zitadel/issues/10127 --------- Co-authored-by: Silvan <27845747+adlerhurst@users.noreply.github.com>
This commit is contained in:
@@ -194,7 +194,7 @@ Errors:
|
||||
AlreadyExists: Instans finns redan
|
||||
NotChanged: Instans ändrades inte
|
||||
Org:
|
||||
AlreadyExists: Organisationens namn är redan taget
|
||||
AlreadyExists: Organisationens namn eller ID är redan upptaget
|
||||
Invalid: Organisationen är ogiltigt
|
||||
AlreadyDeactivated: Organisation är redan avaktiverad
|
||||
AlreadyActive: Organisationen är redan aktiv
|
||||
|
Reference in New Issue
Block a user