forked from lix-project/lix
nix-daemon: allow setting builders to "" by any user (untrusted)
(cherry picked from commit a94a2eb1cb1c81e90a7529be5fecac27899a3442)
This commit is contained in:
parent
42e4ea2b6d
commit
8df367a92d
|
@ -557,7 +557,8 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
||||||
;
|
;
|
||||||
else if (trusted
|
else if (trusted
|
||||||
|| name == settings.buildTimeout.name
|
|| name == settings.buildTimeout.name
|
||||||
|| name == "connect-timeout")
|
|| name == "connect-timeout"
|
||||||
|
|| (name == "builders" && value == ""))
|
||||||
settings.set(name, value);
|
settings.set(name, value);
|
||||||
else if (setSubstituters(settings.substituters))
|
else if (setSubstituters(settings.substituters))
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue