Reimplement trusted-substituters (aka trusted-binary-caches)
This commit is contained in:
parent
9cc8047f44
commit
76cb3c702c
2 changed files with 46 additions and 6 deletions
|
|
@ -239,6 +239,10 @@ public:
|
|||
"Additional URIs of substituters.",
|
||||
{"extra-binary-caches"}};
|
||||
|
||||
Setting<StringSet> trustedSubstituters{this, {}, "trusted-substituters",
|
||||
"Disabled substituters that may be enabled via the substituters option by untrusted users.",
|
||||
{"trusted-binary-caches"}};
|
||||
|
||||
Setting<Strings> trustedUsers{this, {"root"}, "trusted-users",
|
||||
"Which users or groups are trusted to ask the daemon to do unsafe things."};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue