[MM-47489] Move Shared Channels (Experimental) to Professional (#21882)

* Move shared channels to professional license

* Remove references to SharedChannels from license and use license SKU instead

* add tests

* Refactor shared channels license check and add tests

* Re-add removed negation on license check

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Mylon Suren
2023-01-03 16:30:30 -05:00
коммит произвёл GitHub
родитель c8e70718c2
Коммит ed23df6a2e
5 изменённых файлов: 134 добавлений и 2 удалений

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

@@ -595,7 +595,7 @@ func (s *Server) startInterClusterServices(license *model.License) error {
// Shared Channels service
// License check
if !*license.Features.SharedChannels {
if !license.HasSharedChannels() {
mlog.Debug("License does not have shared channels enabled")
return nil
}