Skip to content

Commit

Permalink
Add ClusterTraffic to account claims
Browse files Browse the repository at this point in the history
For supporting nats-io/nats-server#5466.

For now expected values would be:
* `"system"` - use the system account (default, as today)
* `"owner"` - use the same account that owns the asset
* `"account:ACCNAME"` - use a third specified `ACCNAME`

Signed-off-by: Neil Twigg <[email protected]>
  • Loading branch information
neilalexander committed Sep 10, 2024
1 parent ff68a3b commit bc9fb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/account_claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ type Account struct {
Mappings Mapping `json:"mappings,omitempty"`
Authorization ExternalAuthorization `json:"authorization,omitempty"`
Trace *MsgTrace `json:"trace,omitempty"`
ClusterTraffic string `json:"cluster_traffic,omitempty"`
Info
GenericFields
}
Expand Down

0 comments on commit bc9fb5f

Please sign in to comment.