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.
Этот коммит содержится в:
George Goldberg
2018-05-17 16:29:31 +01:00
коммит произвёл GitHub
родитель a09dc68e1d
Коммит 463065c8ba
5 изменённых файлов: 32 добавлений и 15 удалений

Просмотреть файл

@@ -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