mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:17:35 +00:00
feat: add Help/Support e-mail for instance/org (#5445)
feat: help and support email in privacy policy
This commit is contained in:
@@ -5460,6 +5460,13 @@ message UpdatePrivacyPolicyRequest {
|
||||
example: "\"https://zitadel.com/docs/manuals/introduction\"";
|
||||
}
|
||||
];
|
||||
string support_email = 4 [
|
||||
(validate.rules).string = {ignore_empty: true, max_len: 320, email: true},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"support-email@test.com\"";
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message UpdatePrivacyPolicyResponse {
|
||||
|
@@ -9834,6 +9834,13 @@ message AddCustomPrivacyPolicyRequest {
|
||||
example: "\"https://zitadel.com/docs/manuals/introduction\"";
|
||||
}
|
||||
];
|
||||
string support_email = 4 [
|
||||
(validate.rules).string = {ignore_empty: true, max_len: 320, email: true},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"support-email@test.com\"";
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message AddCustomPrivacyPolicyResponse {
|
||||
@@ -9859,6 +9866,13 @@ message UpdateCustomPrivacyPolicyRequest {
|
||||
example: "\"https://zitadel.com/docs/manuals/introduction\"";
|
||||
}
|
||||
];
|
||||
string support_email = 4 [
|
||||
(validate.rules).string = {ignore_empty: true, max_len: 320, email: true},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"support-email@test.com\"";
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message UpdateCustomPrivacyPolicyResponse {
|
||||
|
@@ -4,6 +4,7 @@ import "zitadel/object.proto";
|
||||
import "zitadel/idp.proto";
|
||||
import "google/protobuf/duration.proto";
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "validate/validate.proto";
|
||||
|
||||
package zitadel.policy.v1;
|
||||
|
||||
@@ -345,6 +346,13 @@ message PrivacyPolicy {
|
||||
example: "\"https://zitadel.com/docs/manuals/introduction\"";
|
||||
}
|
||||
];
|
||||
string support_email = 6 [
|
||||
(validate.rules).string = {ignore_empty: true, max_len: 320, email: true},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"support-email@test.com\"";
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message NotificationPolicy {
|
||||
|
@@ -394,11 +394,12 @@ message LogoutDoneScreenText {
|
||||
}
|
||||
|
||||
message FooterText {
|
||||
reserved 2, 4, 6;
|
||||
reserved 2, 4, 6, 8;
|
||||
reserved "tos_link", "privacy_policy_link", "help_link";
|
||||
string tos = 1 [(validate.rules).string = {max_len: 200}];
|
||||
string privacy_policy = 3 [(validate.rules).string = {max_len: 200}];
|
||||
string help = 5 [(validate.rules).string = {max_len: 200}];
|
||||
string support_email = 7 [(validate.rules).string = {max_len: 200}];
|
||||
}
|
||||
|
||||
message PasswordlessPromptScreenText {
|
||||
|
Reference in New Issue
Block a user