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)
Change the "create posts" setting ~20 times successfully
Changing the channel moderation setting doesn't modify the team permission scheme
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.
Tested on 5.23 rc4 on HA server and this is working as expected.
PR labelled. Closing.