fix: default success handler key can be viewed by anyone in the workspace

This commit is contained in:
Ruben Fiszel
2024-09-11 12:16:10 +02:00
parent 7a29c93bf8
commit d55159367d
+1
View File
@@ -251,6 +251,7 @@ pub async fn get_global_setting(
) -> JsonResult<serde_json::Value> {
if !key.starts_with("default_error_handler_")
&& !key.starts_with("default_recovery_handler_")
&& !key.starts_with("default_success_handler_")
&& key != AUTOMATE_USERNAME_CREATION_SETTING
&& key != HUB_BASE_URL_SETTING
&& key != EMAIL_DOMAIN_SETTING