realm: Add option to schedule data deletion while deactivating.

Introduce a feature to schedule realm data deletion time during realm
deactivation. This includes a server-level setting to configure the
minimum and maximum allowed deletion days.

Co-authored-by: Ujjawal Modi <umodi2003@gmail.com>
Co-authored-by: Lauryn Menard <lauryn@zulip.com>

Fixes #24677.
This commit is contained in:
opmkumar
2024-12-18 00:22:09 +05:30
committed by Tim Abbott
parent 219c3b56df
commit 5b0c55fda3
16 changed files with 515 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
# new level means in api_docs/changelog.md, as well as "**Changes**"
# entries in the endpoint's documentation in `zulip.yaml`.
API_FEATURE_LEVEL = 331 # Last bumped for realm-level setting, `moderation_request_channel`.
API_FEATURE_LEVEL = 332 # Last bumped for data deletion of deactivated realms.
# Bump the minor PROVISION_VERSION to indicate that folks should provision
# only when going from an old version of the code to a newer version. Bump