feat: app sharing (now open source!) (#4378)

This commit is contained in:
Dean Sheather
2022-10-15 02:46:38 +10:00
committed by GitHub
parent 19d7281daf
commit d898737d6d
55 changed files with 1069 additions and 412 deletions

View File

@ -118,19 +118,19 @@ func GenerateLicense(t *testing.T, options LicenseOptions) string {
if options.GraceAt.IsZero() {
options.GraceAt = time.Now().Add(time.Hour)
}
auditLog := int64(0)
var auditLog int64
if options.AuditLog {
auditLog = 1
}
browserOnly := int64(0)
var browserOnly int64
if options.BrowserOnly {
browserOnly = 1
}
scim := int64(0)
var scim int64
if options.SCIM {
scim = 1
}
workspaceQuota := int64(0)
var workspaceQuota int64
if options.WorkspaceQuota {
workspaceQuota = 1
}