diff options
author | Jean-François Roche <jfroche@pyxel.be> | 2023-06-27 12:01:08 +0200 |
---|---|---|
committer | Jean-François Roche <jfroche@pyxel.be> | 2023-06-27 18:31:31 +0200 |
commit | 80c9259756811c1165167db1bb66c1fef0accb65 (patch) | |
tree | cf05cfc40b5f61854ebd8fdb87d9154cee576b3c /src/libstore/daemon.cc | |
parent | 8e770dac9f68162cfbb368e53f928df491babff3 (diff) |
Allow to sign path as unprivileged user
User can now sign path as unprivileged/allowed user
refs #1708
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r-- | src/libstore/daemon.cc | 2 |
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; |