settings: Add 'allow_private_data_export' user setting.

This commit adds a user-setting to allow users to decide
whether to let administrators export their private data.

Fixes part of #31201.
This commit is contained in:
Prakhar Pratyush
2024-09-09 16:21:38 +05:30
committed by Tim Abbott
parent fb888ba9ab
commit 764083d31b
12 changed files with 74 additions and 2 deletions

View File

@@ -717,6 +717,7 @@ export function dispatch_normal_event(event) {
"send_read_receipts",
"presence_enabled",
"email_address_visibility",
"allow_private_data_export",
];
if (privacy_settings.includes(event.property)) {