Skip to content

Commit

Permalink
Add connector fields to ACL (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
clstokes authored Dec 8, 2023
1 parent 21a9620 commit 923e8b5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tailscale/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,15 @@ type (
}

NodeAttrGrant struct {
Target []string `json:"target,omitempty" hujson:"Target,omitempty"`
Attr []string `json:"attr,omitempty" hujson:"Attr,omitempty"`
Target []string `json:"target,omitempty" hujson:"Target,omitempty"`
Attr []string `json:"attr,omitempty" hujson:"Attr,omitempty"`
App map[string][]*NodeAttrGrantApp `json:"app,omitempty" hujson:"App,omitempty"`
}

NodeAttrGrantApp struct {
Name string `json:"name,omitempty" hujson:"Name,omitempty"`
Connectors []string `json:"connectors,omitempty" hujson:"Connectors,omitempty"`
Domains []string `json:"domains,omitempty" hujson:"Domains,omitempty"`
}
)

Expand Down

0 comments on commit 923e8b5

Please sign in to comment.