Honour PERMISSION_CREATE_(PUBLIC|PRIVATE)_CHANNEL

Description

The incident response plugin currently allows the creation of public incidents. Soon, it will support private incidents as well. Once the latter is finished, we should honour the PERMISSION_CREATE_PUBLIC_CHANNEL and PERMISSION_CREATE_PRIVATE_CHANNEL permissions, possibly denying incident creation altogether if a user lacks the requisite permissions.

Otherwise, incident response becomes a "backdoor" to creating the disallowed channel type.

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Jesse Hallam

Epic Link

None

Fix versions

Mattermost Team

Workflows

Sprint

None

QA Testing Areas

None

GitHub Issue

None

Components

Configure