Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: check trailing (#10960)
Danny Xuf67eed64f38c
diff --git a/backend/enterprise/plugin/hub/hub.go b/backend/enterprise/plugin/hub/hub.goindex e4b3830972..2f51c05a0a 100644--- a/backend/enterprise/plugin/hub/hub.go+++ b/backend/enterprise/plugin/hub/hub.go@@ -191,7 +191,7 @@ func (p *Provider) parseClaims(ctx context.Context, claim *claims) (*enterprise.return nil, common.Errorf(common.Invalid, "plan type %q is not valid", planType)}- if claim.WorkspaceID != "" && planType == api.ENTERPRISE {+ if claim.WorkspaceID != "" && planType == api.ENTERPRISE && !claim.Trialing {workspaceID, err := p.store.GetWorkspaceID(ctx)if err != nil {return nil, errors.Wrapf(err, "failed to get workspace id from setting")