AuthorizeConnection with filters (#2734)
* AuthorizeConnection with filters
This commit is contained in:
1 parent
99cf985649
commit
24bbf57a19
14 files changed
+246
-190
No files matched your search
@@ -27,3 +27,11 @@ type (
|
||||
ConnectionRepoFactory func() (*session.ConnectionRepository, error)
|
||||
WorkerAuthRepoStorageFactory func() (*server.WorkerAuthRepositoryStorage, error)
|
||||
)
|
||||
|
||||
// Downstreamers provides at least a minimum interface that must be met by a
|
||||
// Controller.downstreamWorkers field which is far better than allowing any (empty
|
||||
// interface)
|
||||
type Downstreamers interface {
|
||||
// RootId returns the root ID of the downstreamers' graph
|
||||
RootId() string
|
||||
}
|
||||
Reference in new issue
Block a user