aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-27 13:09:13 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-10-27 13:09:13 +0200
commit6e684d1b8747ed0180489eacbdf920a82162e249 (patch)
tree147a9fec91d62c827352aa87c32f587cf55f1924 /src/libstore/daemon.cc
parent13a7a24ba5213a536911320c0ee69faf26bc3f53 (diff)
daemon: Accept 'repeat' setting from untrusted users
Fixes #5352.
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc1
1 files changed, 1 insertions, 0 deletions
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);