mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
update configuration to use 'ProductSettings.EnablePublicSharedBoards' (#4484)
This commit is contained in:
parent
c761ea7c88
commit
dd1f81c1e8
@ -80,6 +80,9 @@ func (b *BoardsApp) OnConfigurationChange() error {
|
||||
if mmconfig.PluginSettings.Plugins[PluginName][SharedBoardsName] == true {
|
||||
enableShareBoards = true
|
||||
}
|
||||
if mmconfig.ProductSettings.EnablePublicSharedBoards != nil {
|
||||
enableShareBoards = *mmconfig.ProductSettings.EnablePublicSharedBoards
|
||||
}
|
||||
configuration := &configuration{
|
||||
EnablePublicSharedBoards: enableShareBoards,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user