diff --git a/core/maingate.go b/core/maingate.go index bb0f0e9..7153009 100644 --- a/core/maingate.go +++ b/core/maingate.go @@ -478,7 +478,8 @@ func (mg *Maingate) RegisterHandlers(ctx context.Context, serveMux *http.ServeMu State: DivisionState_FullOpen, }, - Url: fmt.Sprintf("http://%s/warehouse", ipaddr), + LockCreateChar: false, + Url: fmt.Sprintf("http://%s/warehouse", ipaddr), }, } } diff --git a/core/service.go b/core/service.go index fd8f090..7197789 100644 --- a/core/service.go +++ b/core/service.go @@ -96,6 +96,7 @@ type DivisionForUser struct { type Division struct { DivisionForUser `bson:",inline" json:",inline"` Url string `bson:"url" json:"url"` + LockCreateChar bool `bson:"lockcreatechar" json:"lockcreatechar"` } type ServiceDescriptionSummary struct {