mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Allow to sign path as unprivileged user
User can now sign path as unprivileged/allowed user refs #1708
This commit is contained in:
parent
8e770dac9f
commit
80c9259756
3 changed files with 18 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue