summaryrefslogtreecommitdiffstats
path: root/utils/license.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2018-05-17 16:29:31 +0100
committerGitHub <noreply@github.com>2018-05-17 16:29:31 +0100
commit463065c8ba4b4aece7fd9b7764ba917df3e73292 (patch)
tree2dfbe1dee29ce78eac853f64dde247338d44c917 /utils/license.go
parenta09dc68e1d99394f5d636284e0580dd17b2773b3 (diff)
downloadchat-463065c8ba4b4aece7fd9b7764ba917df3e73292.tar.gz
chat-463065c8ba4b4aece7fd9b7764ba917df3e73292.tar.bz2
chat-463065c8ba4b4aece7fd9b7764ba917df3e73292.zip
MM-10606: License feature flag for custom schemes. (#8804)
* MM-10606: Add new field to license for custom schemes. * Add feature flag to license check for Schemes.
Diffstat (limited to 'utils/license.go')
-rw-r--r--utils/license.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/license.go b/utils/license.go
index aa89026ea..1d76cf994 100644
--- a/utils/license.go
+++ b/utils/license.go
@@ -152,6 +152,7 @@ func GetClientLicense(l *model.License) map[string]string {
props["PhoneNumber"] = l.Customer.PhoneNumber
props["EmailNotificationContents"] = strconv.FormatBool(*l.Features.EmailNotificationContents)
props["MessageExport"] = strconv.FormatBool(*l.Features.MessageExport)
+ props["CustomPermissionsSchemes"] = strconv.FormatBool(*l.Features.CustomPermissionsSchemes)
}
return props