mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
fix: default success handler key can be viewed by anyone in the workspace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user