From 0e32b9ce8716c2b6979989c0a38952ad49ba0217 Mon Sep 17 00:00:00 2001 From: msourget Date: Fri, 5 Jul 2024 10:53:47 +0200 Subject: [PATCH] add missing web_proxy_extender_route_patterns and group_id to TrustedClient struct --- api/userstore/model.go | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/api/userstore/model.go b/api/userstore/model.go index b5c5444..0827f5c 100644 --- a/api/userstore/model.go +++ b/api/userstore/model.go @@ -34,18 +34,20 @@ type FilterUser struct { // TrustedClient definition type TrustedClient struct { - ID string `json:"id,omitempty"` - Secret string `json:"secret,omitempty"` - Name string `json:"name,omitempty"` - WebProxyAddress string `json:"web_proxy_address,omitempty"` - Registered bool `json:"registered,omitempty"` - Enabled bool `json:"enabled,omitempty"` - Type ClientType `json:"type,omitempty"` - Permissions []string `json:"permissions,omitempty"` - ExtenderAddress []string `json:"extender_address,omitempty"` - Subnets []string `json:"subnets,omitempty"` - RoutingPrefix string `json:"routing_prefix,omitempty"` - AccessGroupId string `json:"access_group_id,omitempty"` + ID string `json:"id,omitempty"` + Secret string `json:"secret,omitempty"` + Name string `json:"name,omitempty"` + WebProxyAddress string `json:"web_proxy_address,omitempty"` + Registered bool `json:"registered,omitempty"` + Enabled bool `json:"enabled,omitempty"` + Type ClientType `json:"type,omitempty"` + Permissions []string `json:"permissions,omitempty"` + WebProxyExtenderRoutePatterns []string `json:"web_proxy_extender_route_patterns,omitempty"` + ExtenderAddress []string `json:"extender_address,omitempty"` + Subnets []string `json:"subnets,omitempty"` + RoutingPrefix string `json:"routing_prefix,omitempty"` + AccessGroupId string `json:"access_group_id,omitempty"` + GroupId string `json:"group_id,omitempty"` } // Extender creates new trusted client