aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorJean-François Roche <jfroche@pyxel.be>2023-06-27 12:01:08 +0200
committerJean-François Roche <jfroche@pyxel.be>2023-06-27 18:31:31 +0200
commit80c9259756811c1165167db1bb66c1fef0accb65 (patch)
treecf05cfc40b5f61854ebd8fdb87d9154cee576b3c /src/libstore
parent8e770dac9f68162cfbb368e53f928df491babff3 (diff)
Allow to sign path as unprivileged user
User can now sign path as unprivileged/allowed user refs #1708
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/daemon.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 75c3d2aca..ad3dee1a2 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -864,8 +864,6 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
auto path = store->parseStorePath(readString(from));
StringSet sigs = readStrings<StringSet>(from);
logger->startWork();
- if (!trusted)
- throw Error("you are not privileged to add signatures");
store->addSignatures(path, sigs);
logger->stopWork();
to << 1;