mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:47:32 +00:00
feat: Hosted login translation API (#10011)
# Which Problems Are Solved This PR implements https://github.com/zitadel/zitadel/issues/9850 # How the Problems Are Solved - New protobuf definition - Implementation of retrieval of system translations - Implementation of retrieval and persistence of organization and instance level translations # Additional Context - Closes #9850 # TODO - [x] Integration tests for Get and Set hosted login translation endpoints - [x] DB migration test - [x] Command function tests - [x] Command util functions tests - [x] Query function test - [x] Query util functions tests
This commit is contained in:
@@ -13,9 +13,9 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
CTX, AdminCTX context.Context
|
||||
Instance *integration.Instance
|
||||
Client settings.SettingsServiceClient
|
||||
CTX, AdminCTX, UserTypeLoginCtx, OrgOwnerCtx context.Context
|
||||
Instance *integration.Instance
|
||||
Client settings.SettingsServiceClient
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
@@ -27,6 +27,9 @@ func TestMain(m *testing.M) {
|
||||
|
||||
CTX = ctx
|
||||
AdminCTX = Instance.WithAuthorization(ctx, integration.UserTypeIAMOwner)
|
||||
UserTypeLoginCtx = Instance.WithAuthorization(ctx, integration.UserTypeLogin)
|
||||
OrgOwnerCtx = Instance.WithAuthorization(ctx, integration.UserTypeOrgOwner)
|
||||
|
||||
Client = Instance.Client.SettingsV2
|
||||
return m.Run()
|
||||
}())
|
||||
|
Reference in New Issue
Block a user