mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 13:48:45 +00:00
chore: replace given and family names with first and last names (#11343)
# Which Problems Are Solved Naming inconsistency w.r.t the usage of Given Name / Family Name instead of First Name / Last Name # How the Problems Are Solved * By replacing given and family names with first and last names in UI and docs (not in the API definitions) * Updated translations in multiple languages to first and last names instead of given/family names # Additional Changes * Add `internal/**/*.yaml` path to the nx sources input to rebuild the binary upon changes to these files * Fix failing unit tests in `user_notifier_legacy_test.go` by updating `Passwordless` with `Passkey` # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11308 --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Wim Van Laer <[email protected]>
This commit is contained in:
co-authored by
Copilot
Wim Van Laer
parent
2797a0bb03
commit
be9d2a53eb
@@ -364,7 +364,7 @@ service AuthService {
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags: "User Profile";
|
||||
summary: "Get My Profile";
|
||||
description: "Returns the profile information of the authenticated user, this includes given name, family name, etc."
|
||||
description: "Returns the profile information of the authenticated user, this includes first name, last name, etc."
|
||||
};
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ service AuthService {
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags: "User Profile";
|
||||
summary: "Update My Profile";
|
||||
description: "Change the profile information of the authenticated user. This includes information like given name, family name, language, etc."
|
||||
description: "Change the profile information of the authenticated user. This includes information like first name, last name, language, etc."
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ service InstanceService {
|
||||
//
|
||||
// Deprecated: please move to the corresponding endpoint under instance service v2. This endpoint will be removed with the next major version of ZITADEL.
|
||||
//
|
||||
// Updates instance in context with the given name.
|
||||
// Updates instance in context with the provided name.
|
||||
//
|
||||
// The instance_id in the input message will be used in the future.
|
||||
//
|
||||
|
||||
@@ -47,7 +47,7 @@ message User {
|
||||
string preferred_login_name = 2;
|
||||
|
||||
// DisplayName is the public display name of the user.
|
||||
// By default it's the user's given name and family name, their username or their email address.
|
||||
// By default it's the user's first name and last name, their username or their email address.
|
||||
string display_name = 3;
|
||||
|
||||
// The organization the user belong to.
|
||||
|
||||
@@ -37,7 +37,7 @@ message User {
|
||||
// PreferredLoginName is the preferred login name of the user. This value is unique across the whole instance.
|
||||
string preferred_login_name = 2;
|
||||
// DisplayName is the public display name of the user.
|
||||
// By default it's the user's given name and family name, their username or their email address.
|
||||
// By default it's the user's first name and last name, their username or their email address.
|
||||
string display_name = 3;
|
||||
// The organization the user belong to.
|
||||
string organization_id = 4;
|
||||
|
||||
@@ -2285,7 +2285,7 @@ service ManagementService {
|
||||
//
|
||||
// Deprecated: use [organization service v2 CreateOrganization](apis/resources/org_service_v2/zitadel-org-v-2-organization-service-add-organization.api.mdx) instead
|
||||
//
|
||||
// Create a new organization. Based on the given name a domain will be generated to be able to identify users within an organization.
|
||||
// Create a new organization. Based on the provided name a domain will be generated to be able to identify users within an organization.
|
||||
rpc AddOrg(AddOrgRequest) returns (AddOrgResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/orgs"
|
||||
|
||||
@@ -20,6 +20,7 @@ enum Gender {
|
||||
}
|
||||
|
||||
message SetHumanProfile {
|
||||
// The given name is the first name of the user
|
||||
string given_name = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
@@ -29,6 +30,7 @@ message SetHumanProfile {
|
||||
example: "\"Minnie\"";
|
||||
}
|
||||
];
|
||||
// The family name is the last name of the user
|
||||
string family_name = 2 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
@@ -67,6 +69,7 @@ message SetHumanProfile {
|
||||
}
|
||||
|
||||
message HumanProfile {
|
||||
// The given name is the first name of the user
|
||||
string given_name = 1 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
min_length: 1;
|
||||
@@ -74,6 +77,7 @@ message HumanProfile {
|
||||
example: "\"Minnie\"";
|
||||
}
|
||||
];
|
||||
// The family name is the last name of the user
|
||||
string family_name = 2 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
min_length: 1;
|
||||
|
||||
@@ -20,6 +20,7 @@ enum Gender {
|
||||
}
|
||||
|
||||
message SetHumanProfile {
|
||||
// The given name is the first name of the user
|
||||
string given_name = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
@@ -29,6 +30,7 @@ message SetHumanProfile {
|
||||
example: "\"Minnie\"";
|
||||
}
|
||||
];
|
||||
// The family name is the last name of the user
|
||||
string family_name = 2 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
@@ -67,6 +69,7 @@ message SetHumanProfile {
|
||||
}
|
||||
|
||||
message HumanProfile {
|
||||
// The given name is the first name of the user
|
||||
string given_name = 1 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
min_length: 1;
|
||||
@@ -74,6 +77,7 @@ message HumanProfile {
|
||||
example: "\"Minnie\"";
|
||||
}
|
||||
];
|
||||
// The family name is the last name of the user
|
||||
string family_name = 2 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
min_length: 1;
|
||||
|
||||
Reference in New Issue
Block a user