mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
feat: Privacy policy (#1957)
* feat: command side privacy policy * feat: add privacy policy to api * feat: add privacy policy query side * fix: add privacy policy to mgmt api * fix: add privacy policy to auth and base data * feat: use privacyPolicy in login gui * feat: use privacyPolicy in login gui * feat: test org fatures * feat: typos * feat: tos in register
This commit is contained in:
@@ -528,6 +528,27 @@ it impacts all organisations without a customised policy
|
||||
|
||||
|
||||
|
||||
### GetPrivacyPolicy
|
||||
|
||||
> **rpc** GetPrivacyPolicy([GetPrivacyPolicyRequest](#getprivacypolicyrequest))
|
||||
[GetPrivacyPolicyResponse](#getprivacypolicyresponse)
|
||||
|
||||
Returns the privacy policy defined by the administrators of ZITADEL
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdatePrivacyPolicy
|
||||
|
||||
> **rpc** UpdatePrivacyPolicy([UpdatePrivacyPolicyRequest](#updateprivacypolicyrequest))
|
||||
[UpdatePrivacyPolicyResponse](#updateprivacypolicyresponse)
|
||||
|
||||
Updates the default privacy policy of ZITADEL
|
||||
it impacts all organisations without a customised policy
|
||||
|
||||
|
||||
|
||||
|
||||
### GetDefaultInitMessageText
|
||||
|
||||
> **rpc** GetDefaultInitMessageText([GetDefaultInitMessageTextRequest](#getdefaultinitmessagetextrequest))
|
||||
@@ -1304,6 +1325,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetPrivacyPolicyRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetPrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.PrivacyPolicy | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### HealthzRequest
|
||||
This is an empty request
|
||||
|
||||
@@ -1868,6 +1906,7 @@ This is an empty request
|
||||
| label_policy_private_label | bool | - | |
|
||||
| label_policy_watermark | bool | - | |
|
||||
| custom_text | bool | - | |
|
||||
| privacy_policy | bool | - | |
|
||||
|
||||
|
||||
|
||||
@@ -2023,6 +2062,7 @@ This is an empty request
|
||||
| label_policy_private_label | bool | - | |
|
||||
| label_policy_watermark | bool | - | |
|
||||
| custom_text | bool | - | |
|
||||
| privacy_policy | bool | - | |
|
||||
|
||||
|
||||
|
||||
@@ -2380,6 +2420,29 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### UpdatePrivacyPolicyRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| tos_link | string | - | |
|
||||
| privacy_link | string | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdatePrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### View
|
||||
|
||||
|
||||
|
@@ -1586,6 +1586,61 @@ The password lockout policy is not used at the moment
|
||||
|
||||
|
||||
|
||||
### GetPrivacyPolicy
|
||||
|
||||
> **rpc** GetPrivacyPolicy([GetPrivacyPolicyRequest](#getprivacypolicyrequest))
|
||||
[GetPrivacyPolicyResponse](#getprivacypolicyresponse)
|
||||
|
||||
Returns the privacy policy of the organisation
|
||||
With this policy privacy relevant things can be configured (e.g. tos link)
|
||||
|
||||
|
||||
|
||||
|
||||
### GetDefaultPrivacyPolicy
|
||||
|
||||
> **rpc** GetDefaultPrivacyPolicy([GetDefaultPrivacyPolicyRequest](#getdefaultprivacypolicyrequest))
|
||||
[GetDefaultPrivacyPolicyResponse](#getdefaultprivacypolicyresponse)
|
||||
|
||||
Returns the default privacy policy of the IAM
|
||||
With this policy the privacy relevant things can be configured (e.g tos link)
|
||||
|
||||
|
||||
|
||||
|
||||
### AddCustomPrivacyPolicy
|
||||
|
||||
> **rpc** AddCustomPrivacyPolicy([AddCustomPrivacyPolicyRequest](#addcustomprivacypolicyrequest))
|
||||
[AddCustomPrivacyPolicyResponse](#addcustomprivacypolicyresponse)
|
||||
|
||||
Add a custom privacy policy for the organisation
|
||||
With this policy privacy relevant things can be configured (e.g. tos link)
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateCustomPrivacyPolicy
|
||||
|
||||
> **rpc** UpdateCustomPrivacyPolicy([UpdateCustomPrivacyPolicyRequest](#updatecustomprivacypolicyrequest))
|
||||
[UpdateCustomPrivacyPolicyResponse](#updatecustomprivacypolicyresponse)
|
||||
|
||||
Update the privacy complexity policy for the organisation
|
||||
With this policy privacy relevant things can be configured (e.g. tos link)
|
||||
|
||||
|
||||
|
||||
|
||||
### ResetPrivacyPolicyToDefault
|
||||
|
||||
> **rpc** ResetPrivacyPolicyToDefault([ResetPrivacyPolicyToDefaultRequest](#resetprivacypolicytodefaultrequest))
|
||||
[ResetPrivacyPolicyToDefaultResponse](#resetprivacypolicytodefaultresponse)
|
||||
|
||||
Removes the privacy policy of the organisation
|
||||
The default policy of the IAM will trigger after
|
||||
|
||||
|
||||
|
||||
|
||||
### GetLabelPolicy
|
||||
|
||||
> **rpc** GetLabelPolicy([GetLabelPolicyRequest](#getlabelpolicyrequest))
|
||||
@@ -2227,6 +2282,29 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### AddCustomPrivacyPolicyRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| tos_link | string | - | |
|
||||
| privacy_link | string | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### AddCustomPrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### AddHumanUserRequest
|
||||
|
||||
|
||||
@@ -3239,6 +3317,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetDefaultPrivacyPolicyRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetDefaultPrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.PrivacyPolicy | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GetDefaultVerifyEmailMessageTextRequest
|
||||
|
||||
|
||||
@@ -3637,6 +3732,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### GetPrivacyPolicyRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### GetPrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.PrivacyPolicy | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GetProjectByIDRequest
|
||||
|
||||
|
||||
@@ -5607,6 +5719,23 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### ResetPrivacyPolicyToDefaultRequest
|
||||
This is an empty request
|
||||
|
||||
|
||||
|
||||
|
||||
### ResetPrivacyPolicyToDefaultResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### SendHumanResetPasswordNotificationRequest
|
||||
|
||||
|
||||
@@ -6044,6 +6173,29 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### UpdateCustomPrivacyPolicyRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| tos_link | string | - | |
|
||||
| privacy_link | string | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateCustomPrivacyPolicyResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### UpdateHumanEmailRequest
|
||||
|
||||
|
||||
|
@@ -112,6 +112,20 @@ title: zitadel/policy.proto
|
||||
|
||||
|
||||
|
||||
### PrivacyPolicy
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ObjectDetails | - | |
|
||||
| tos_link | string | - | |
|
||||
| privacy_link | string | - | |
|
||||
| is_default | bool | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Enums
|
||||
|
Reference in New Issue
Block a user