diff --git a/handler/service/service.go b/handler/service/service.go index d454c17..6e3fed1 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -518,12 +518,15 @@ func (h *ServiceHandler) ServiceUpdate(ctx context.Context, project string, serv } type AccessControlOut struct { - M3Group string `json:"m3_group,omitempty"` - PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` - RedisAclCategories []string `json:"redis_acl_categories,omitempty"` - RedisAclChannels []string `json:"redis_acl_channels,omitempty"` - RedisAclCommands []string `json:"redis_acl_commands,omitempty"` - RedisAclKeys []string `json:"redis_acl_keys,omitempty"` + DragonflyAclCategories []string `json:"dragonfly_acl_categories,omitempty"` + DragonflyAclCommands []string `json:"dragonfly_acl_commands,omitempty"` + DragonflyAclKeys []string `json:"dragonfly_acl_keys,omitempty"` + M3Group string `json:"m3_group,omitempty"` + PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` + RedisAclCategories []string `json:"redis_acl_categories,omitempty"` + RedisAclChannels []string `json:"redis_acl_channels,omitempty"` + RedisAclCommands []string `json:"redis_acl_commands,omitempty"` + RedisAclKeys []string `json:"redis_acl_keys,omitempty"` } type AclOut struct { Id string `json:"id,omitempty"` diff --git a/handler/serviceuser/serviceuser.go b/handler/serviceuser/serviceuser.go index 7c33d63..f7b9b7c 100644 --- a/handler/serviceuser/serviceuser.go +++ b/handler/serviceuser/serviceuser.go @@ -108,20 +108,26 @@ func (h *ServiceUserHandler) ServiceUserGet(ctx context.Context, project string, } type AccessControlIn struct { - M3Group string `json:"m3_group,omitempty"` - PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` - RedisAclCategories *[]string `json:"redis_acl_categories,omitempty"` - RedisAclChannels *[]string `json:"redis_acl_channels,omitempty"` - RedisAclCommands *[]string `json:"redis_acl_commands,omitempty"` - RedisAclKeys *[]string `json:"redis_acl_keys,omitempty"` + DragonflyAclCategories *[]string `json:"dragonfly_acl_categories,omitempty"` + DragonflyAclCommands *[]string `json:"dragonfly_acl_commands,omitempty"` + DragonflyAclKeys *[]string `json:"dragonfly_acl_keys,omitempty"` + M3Group string `json:"m3_group,omitempty"` + PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` + RedisAclCategories *[]string `json:"redis_acl_categories,omitempty"` + RedisAclChannels *[]string `json:"redis_acl_channels,omitempty"` + RedisAclCommands *[]string `json:"redis_acl_commands,omitempty"` + RedisAclKeys *[]string `json:"redis_acl_keys,omitempty"` } type AccessControlOut struct { - M3Group string `json:"m3_group,omitempty"` - PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` - RedisAclCategories []string `json:"redis_acl_categories,omitempty"` - RedisAclChannels []string `json:"redis_acl_channels,omitempty"` - RedisAclCommands []string `json:"redis_acl_commands,omitempty"` - RedisAclKeys []string `json:"redis_acl_keys,omitempty"` + DragonflyAclCategories []string `json:"dragonfly_acl_categories,omitempty"` + DragonflyAclCommands []string `json:"dragonfly_acl_commands,omitempty"` + DragonflyAclKeys []string `json:"dragonfly_acl_keys,omitempty"` + M3Group string `json:"m3_group,omitempty"` + PgAllowReplication *bool `json:"pg_allow_replication,omitempty"` + RedisAclCategories []string `json:"redis_acl_categories,omitempty"` + RedisAclChannels []string `json:"redis_acl_channels,omitempty"` + RedisAclCommands []string `json:"redis_acl_commands,omitempty"` + RedisAclKeys []string `json:"redis_acl_keys,omitempty"` } type AclOut struct { Id string `json:"id,omitempty"`