mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
cherry pick changes from main (#3371)
* feat: remove exif data from uploaded images (#3221) * feat: remove exif tags from images * feat: remove exif data * feat: remove exif * fix: add preferredLoginName to user grant response (#3271) * chore: log webauthn parse error (#3272) * log error * log error * feat: Help link in privacy policy * fix: convert correct detail data on organization (#3279) * fix: handle empty editor users * fix: add some missing translations (#3291) * fix: org policy translations * fix: metadata event types translation * fix: translations * fix: filter resource owner correctly on project grant members (#3281) * fix: filter resource owner correctly on project grant members * fix: filter resource owner correctly on project grant members * fix: add orgIDs to zitadel permissions request Co-authored-by: fabi <fabienne.gerschwiler@gmail.com> * fix: get IAM memberships correctly in MyZitadelPermissions (#3309) * fix: correct login names on auth and notification users (#3349) * fix: correct login names on auth and notification users * fix: migration * fix: handle resource owner in action flows (#3361) * fix merge * fix: exchange exif library (#3366) * fix: exchange exif library * ignore tiffs * requested fixes * feat: Help link in privacy policy Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com> Co-authored-by: fabi <fabienne.gerschwiler@gmail.com>
This commit is contained in:
@@ -1771,6 +1771,7 @@ service AdminService {
|
||||
|
||||
//Updates the default privacy policy of ZITADEL
|
||||
// it impacts all organisations without a customised policy
|
||||
// Variable {{.Lang}} can be set to have different links based on the language
|
||||
rpc UpdatePrivacyPolicy(UpdatePrivacyPolicyRequest) returns (UpdatePrivacyPolicyResponse) {
|
||||
option (google.api.http) = {
|
||||
put: "/policies/privacy";
|
||||
@@ -3765,6 +3766,7 @@ message GetPrivacyPolicyResponse {
|
||||
message UpdatePrivacyPolicyRequest {
|
||||
string tos_link = 1;
|
||||
string privacy_link = 2;
|
||||
string help_link = 3;
|
||||
}
|
||||
|
||||
message UpdatePrivacyPolicyResponse {
|
||||
|
@@ -2133,6 +2133,7 @@ service ManagementService {
|
||||
|
||||
// Add a custom privacy policy for the organisation
|
||||
// With this policy privacy relevant things can be configured (e.g. tos link)
|
||||
// Variable {{.Lang}} can be set to have different links based on the language
|
||||
rpc AddCustomPrivacyPolicy(AddCustomPrivacyPolicyRequest) returns (AddCustomPrivacyPolicyResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/policies/privacy"
|
||||
@@ -2147,6 +2148,7 @@ service ManagementService {
|
||||
|
||||
// Update the privacy complexity policy for the organisation
|
||||
// With this policy privacy relevant things can be configured (e.g. tos link)
|
||||
// Variable {{.Lang}} can be set to have different links based on the language
|
||||
rpc UpdateCustomPrivacyPolicy(UpdateCustomPrivacyPolicyRequest) returns (UpdateCustomPrivacyPolicyResponse) {
|
||||
option (google.api.http) = {
|
||||
put: "/policies/privacy"
|
||||
@@ -4646,6 +4648,7 @@ message GetDefaultPrivacyPolicyResponse {
|
||||
message AddCustomPrivacyPolicyRequest {
|
||||
string tos_link = 1;
|
||||
string privacy_link = 2;
|
||||
string help_link = 3;
|
||||
}
|
||||
|
||||
message AddCustomPrivacyPolicyResponse {
|
||||
@@ -4655,6 +4658,7 @@ message AddCustomPrivacyPolicyResponse {
|
||||
message UpdateCustomPrivacyPolicyRequest {
|
||||
string tos_link = 1;
|
||||
string privacy_link = 2;
|
||||
string help_link = 3;
|
||||
}
|
||||
|
||||
message UpdateCustomPrivacyPolicyResponse {
|
||||
|
@@ -229,4 +229,5 @@ message PrivacyPolicy {
|
||||
string tos_link = 2;
|
||||
string privacy_link = 3;
|
||||
bool is_default = 4;
|
||||
}
|
||||
string help_link = 5;
|
||||
}
|
||||
|
@@ -382,12 +382,11 @@ message LogoutDoneScreenText {
|
||||
}
|
||||
|
||||
message FooterText {
|
||||
reserved 2, 4;
|
||||
reserved "tos_link", "privacy_policy_link";
|
||||
reserved 2, 4, 6;
|
||||
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 help_link = 6 [(validate.rules).string = {max_len: 500}];
|
||||
}
|
||||
|
||||
message PasswordlessPromptScreenText {
|
||||
|
@@ -681,6 +681,11 @@ message UserGrant {
|
||||
example: "\"https://api.zitadel.ch/assets/v1/avatar-32432jkh4kj32\"";
|
||||
}
|
||||
];
|
||||
string preferred_login_name = 18 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"gigi@caos.ch\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
enum UserGrantState {
|
||||
|
Reference in New Issue
Block a user