chore: consistent naming for organization domain (#11356)

# Which Problems Are Solved

As part of the consistent naming effort, this PR focuses on
"Organization domain".

# How the Problems Are Solved

- All terms referring referring to Organization Domains where changed to
be Organization Domain

# Additional Changes

None

# Additional Context

- closes [#11283](https://github.com/zitadel/zitadel/issues/11283)

---------

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Ramon
2026-02-18 14:46:21 +00:00
committed by GitHub
co-authored by Copilot
parent 699ed17918
commit b23346f6ca
78 changed files with 258 additions and 257 deletions
+2 -2
View File
@@ -7460,7 +7460,7 @@ message AddCustomDomainPolicyRequest {
]; // the username has to end with the domain of its organization (uniqueness is organization based)
bool validate_org_domains = 3 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "defines if organization domains should be validated org count as validated automatically"
description: "defines if Organization Domains should be validated org count as validated automatically"
}
];
bool smtp_sender_address_matches_instance_domain = 4 [
@@ -7496,7 +7496,7 @@ message UpdateCustomDomainPolicyRequest {
];
bool validate_org_domains = 3 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "defines if organization domains should be validated org count as validated automatically"
description: "defines if Organization Domains should be validated org count as validated automatically"
}
];
bool smtp_sender_address_matches_instance_domain = 4 [
+2 -2
View File
@@ -32,7 +32,7 @@ message Organization {
}
];
// Primary domain used in the organization.
// Organization Domain used in the organization.
string primary_domain = 5 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"zitadel.cloud\"";
@@ -75,7 +75,7 @@ message Domain {
// IsVerified is a boolean flag indicating if the domain has been verified.
bool is_verified = 3;
// IsPrimary is a boolean flag indicating if the domain is the primary domain of the organization.
// IsPrimary is a boolean flag indicating if the domain is the Organization Domain of the organization.
bool is_primary = 4;
// ValidationType indicates the protocol used to validate the domain ownership.
+4 -4
View File
@@ -616,7 +616,7 @@ message UpdateOrganizationRequest {
// changing the name will also change the domain.
// Additionally, if the domain is used as suffix for user logins,
// their login names will also change accordingly.
// It will not affect any organization domains added to the organization.
// It will not affect any Organization Domains added to the organization.
string name = 2 [
(validate.rules).string = {min_len: 1, max_len: 200},
(google.api.field_behavior) = REQUIRED,
@@ -752,7 +752,7 @@ message AddOrganizationDomainRequest {
}
message AddOrganizationDomainResponse {
// CreationDate is the timestamp when the organization domain was created.
// CreationDate is the timestamp when the Organization Domain was created.
google.protobuf.Timestamp creation_date = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"2024-12-18T07:50:47.492Z\"";
@@ -820,7 +820,7 @@ message DeleteOrganizationDomainRequest {
}
message DeleteOrganizationDomainResponse {
// DeletionDate is the timestamp of the deletion of the organization domain.
// DeletionDate is the timestamp of the deletion of the Organization Domain.
google.protobuf.Timestamp deletion_date = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"2025-01-23T10:34:18.051Z\"";
@@ -902,7 +902,7 @@ message VerifyOrganizationDomainRequest {
}
message VerifyOrganizationDomainResponse {
// ChangeDate is the timestamp of the verification of the organization domain.
// ChangeDate is the timestamp of the verification of the Organization Domain.
google.protobuf.Timestamp change_date = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"2025-01-23T10:34:18.051Z\"";
+1 -1
View File
@@ -101,7 +101,7 @@ message DomainSearchFilter {
oneof filter {
option (validate.required) = true;
// Filter organization domains by their domain name.
// Filter Organization Domains by their domain name.
OrganizationDomainQuery domain_filter = 1;
}
}
+3 -3
View File
@@ -24,7 +24,7 @@ message Organization {
}
];
// The timestamp of the verification of the organization domain.
// The timestamp of the verification of the Organization Domain.
google.protobuf.Timestamp changed_date = 3 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"2025-01-23T10:34:18.051Z\"";
@@ -40,7 +40,7 @@ message Organization {
example: "\"ZITADEL\"";
}
];
// Primary domain used in the organization.
// Organization Domain used in the organization.
string primary_domain = 6 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"zitadel.cloud\"";
@@ -155,7 +155,7 @@ message Domain {
];
// Defines if the domain is verified.
bool is_verified = 3;
// Defines if the domain is the primary domain.
// Defines if the domain is the Organization Domain.
bool is_primary = 4;
// Defines the protocol the domain was validated with.
DomainValidationType validation_type = 5;
+2 -2
View File
@@ -823,7 +823,7 @@ message DeleteOrganizationDomainRequest {
}
message DeleteOrganizationDomainResponse {
// The timestamp of the deletion of the organization domain.
// The timestamp of the deletion of the Organization Domain.
google.protobuf.Timestamp deletion_date = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"2025-01-23T10:34:18.051Z\"";
@@ -894,7 +894,7 @@ message VerifyOrganizationDomainRequest {
}
message VerifyOrganizationDomainResponse {
// The timestamp of the verification of the organization domain.
// The timestamp of the verification of the Organization Domain.
google.protobuf.Timestamp change_date = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"2025-01-23T10:34:18.051Z\"";
+1 -1
View File
@@ -39,7 +39,7 @@ message DomainPolicy {
];
bool validate_org_domains = 4 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "defines if organization domains should be validated org count as validated automatically"
description: "defines if Organization Domains should be validated org count as validated automatically"
}
];
bool smtp_sender_address_matches_instance_domain = 5 [
@@ -12,8 +12,8 @@ message DomainSettings {
// This ensures that the login name is unique across the instance.
bool login_name_includes_domain = 1;
// If enabled, organization domains must be verified (through an DNS or HTTP challenge) upon creation.
// If disabled, organization domains will be created as already verified automatically.
// If enabled, Organization Domains must be verified (through an DNS or HTTP challenge) upon creation.
// If disabled, Organization Domains will be created as already verified automatically.
bool require_org_domain_verification = 2;
// If enabled, the SMTP sender address domain must match Custom Domain on the instance.
@@ -115,7 +115,7 @@ message LoginSettings {
// Allow discovery of the organization and its authentication option by domain.
// If set to true, the suffix (@domain.com) of an unknown username input on the login screen
// will be matched against the organization domains and will redirect to the registration of that organization on success.
// will be matched against the Organization Domains and will redirect to the registration of that organization on success.
// The registration can either be locally (requires allow_register to be true) or through an external identity provider.
// In case only one identity provider is configured for the organization, the user will be redirected directly to the identity provider.
bool allow_domain_discovery = 16;
@@ -15,7 +15,7 @@ message DomainSettings {
];
bool require_org_domain_verification = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "defines if organization domains should be verified upon creation, otherwise will be created already verified"
description: "defines if Organization Domains should be verified upon creation, otherwise will be created already verified"
}
];
bool smtp_sender_address_matches_instance_domain = 3 [