Add Features struct to the Mattermost server configuration

Description

Up to date spec here: https://docs.google.com/document/d/1B2oOeQsH0TiWObAMbHw_jLOSUjMRNfd3j8Df-2QKkDc/edit

  • Add features struct to the configuration.

  • Allow setting hard coded defaults.

  • Allow overriding with environment variables.

  • Do not allow to be saved to the configuration.

  • Verify CLI commands work for viewing and are disabled for writing.

QA Test Steps

No testing required.

Mana

None

Assignee

Christopher Speller

QA Assignee

Steve Mudie

Reporter

Christopher Speller

Epic Link

Fix versions

Mattermost Team

Workflows

Sprint

None

Labels

None

QA Testing Areas

Other (write in QA test steps)

GitHub Issue

None

Components

None
Configure