From 6e684d1b8747ed0180489eacbdf920a82162e249 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Oct 2021 13:09:13 +0200 Subject: [PATCH] daemon: Accept 'repeat' setting from untrusted users Fixes #5352. --- src/libstore/daemon.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc index 4e8a3c417..4b3465da3 100644 --- a/src/libstore/daemon.cc +++ b/src/libstore/daemon.cc @@ -235,6 +235,7 @@ struct ClientSettings } else if (trusted || name == settings.buildTimeout.name + || name == settings.buildRepeat.name || name == "connect-timeout" || (name == "builders" && value == "")) settings.set(name, value);