diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-04-07 13:41:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 13:41:32 +0200 |
commit | 81dfc2b01231c65137017de092c8506838fadd94 (patch) | |
tree | 8eb60530be71b451d588d493dde52efe86ea30ff /src/libstore/local-binary-cache-store.cc | |
parent | 91856396317995aa38dc7244357596b8de27f937 (diff) | |
parent | 9207f945822764a041a485009759f0a895468e94 (diff) |
Merge pull request #7515 from MatthewCroughan/mc/check-trusted-user
Add Store::isTrustedClient()
Diffstat (limited to 'src/libstore/local-binary-cache-store.cc')
-rw-r--r-- | src/libstore/local-binary-cache-store.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/local-binary-cache-store.cc b/src/libstore/local-binary-cache-store.cc index e5ee6fc15..5481dd762 100644 --- a/src/libstore/local-binary-cache-store.cc +++ b/src/libstore/local-binary-cache-store.cc @@ -95,6 +95,10 @@ protected: return paths; } + std::optional<TrustedFlag> isTrustedClient() override + { + return Trusted; + } }; void LocalBinaryCacheStore::init() |