diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-06-30 13:13:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 13:13:42 +0200 |
commit | a0c617348b636d4a6f239450a61e029719e2c832 (patch) | |
tree | 295694766b2ce599f3a8b5c22830bf5004472963 /src/libstore | |
parent | 1632f08ea2fd6628e2c0cf729ba5269153b3007c (diff) | |
parent | 80c9259756811c1165167db1bb66c1fef0accb65 (diff) |
Merge pull request #8589 from jfroche/sign-paths-as-allowed-user
Allow to sign path as unprivileged user
Diffstat (limited to 'src/libstore')
-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; |