From 46a693e421d61b4a107d7796edc6f0edf94ade9a Mon Sep 17 00:00:00 2001 From: Conor Macpherson Date: Wed, 1 Mar 2023 17:17:23 -0500 Subject: [PATCH] Add in-product expansion config. --- model/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/model/config.go b/model/config.go index 2e76ee3d59..ea72e92077 100644 --- a/model/config.go +++ b/model/config.go @@ -385,6 +385,7 @@ type ServiceSettings struct { EnableCustomGroups *bool `access:"site_users_and_teams"` SelfHostedPurchase *bool `access:"write_restrictable,cloud_restrictable"` AllowSyncedDrafts *bool `access:"site_posts"` + InProductExpansion *bool `access:"write_restrictable,cloud_restrictable"` } func (s *ServiceSettings) SetDefaults(isUpdate bool) { @@ -857,6 +858,10 @@ func (s *ServiceSettings) SetDefaults(isUpdate bool) { if s.SelfHostedPurchase == nil { s.SelfHostedPurchase = NewBool(true) } + + if s.InProductExpansion == nil { + s.InProductExpansion = NewBool(false) + } } type ClusterSettings struct {