Channel moderation sometimes updating team / system roles in high availability setup

Description

Reproduction steps in HA server:

  • Create a team scheme and set all permissions to true

  • Open channel moderation for a channel in that team and enable / disable create posts multiple times

  • Eventually it will say "Create posts is disabled in the team scheme" and you will be unable to add create posts back to the channel (as it gets disabled on the team level)

QA Test Steps

See description
Change the "create posts" setting ~20 times successfully
Changing the channel moderation setting doesn't modify the team permission scheme

Activity

Show:
Rohitesh Gupta
May 11, 2020, 5:23 PM

Tested the ticket on 5.22.3-rc1 instance and the issue is working fine. Also did a smoke testing of Channel Moderation Settings feature on a HA server and there were no issues observed.

Ogi Marusic
May 13, 2020, 1:53 AM

Tested on 5.23 rc4 on HA server and this is working as expected.

PR labelled. Closing.

Done

Mana

None

Assignee

Farhan Munshi

QA Assignee

Ogi Marusic

Reporter

Farhan Munshi

Epic Link

None

Fix versions

Mattermost Team

Enterprise

Sprint

None

Labels

None

QA Testing Areas

Permissions

GitHub Issue

None

Components

None

Severity

S2_functionality_loss_or_cosmetic_regressions
Configure