cmd: handler: check FilesystemVersionFilter as part of ACL

This commit is contained in:
Christian Schwarz
2017-09-16 20:24:46 +02:00
parent dc3378e890
commit e3ec093d53
3 changed files with 44 additions and 25 deletions
+1 -4
View File
@@ -146,10 +146,7 @@ outer:
}
// construct connection handler
handler := Handler{
Logger: log,
PullACL: j.Datasets,
}
handler := NewHandler(log, j.Datasets, &PrefixSnapshotFilter{j.SnapshotPrefix})
// handle connection
rpcServer := rpc.NewServer(rwc)