feat: add autogroup:self (#2789)
This commit is contained in:
parent
fddc7117e4
commit
c2a58a304d
15 changed files with 1448 additions and 26 deletions
|
|
@ -13,6 +13,8 @@ import (
|
|||
type PolicyManager interface {
|
||||
// Filter returns the current filter rules for the entire tailnet and the associated matchers.
|
||||
Filter() ([]tailcfg.FilterRule, []matcher.Match)
|
||||
// FilterForNode returns filter rules for a specific node, handling autogroup:self
|
||||
FilterForNode(node types.NodeView) ([]tailcfg.FilterRule, error)
|
||||
SSHPolicy(types.NodeView) (*tailcfg.SSHPolicy, error)
|
||||
SetPolicy([]byte) (bool, error)
|
||||
SetUsers(users []types.User) (bool, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue