mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +02:00
Update src/libfetchers/filtering-input-accessor.hh
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
53ab5d87c2
commit
2bd8322500
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ typedef std::function<RestrictedPathError(const CanonPath & path)> MakeNotAllowe
|
|||
|
||||
/**
|
||||
* An abstract wrapping `InputAccessor` that performs access
|
||||
* control. Subclasses should override `checkAccess()` to implement an
|
||||
* access control policy.
|
||||
* control. Subclasses should override `isAllowed()` to implement an
|
||||
* access control policy. The error message is customized at construction.
|
||||
*/
|
||||
struct FilteringInputAccessor : InputAccessor
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue