E10 License: Permission Schemes not working properly

Description

1. On an instance with E10 License, enable Guest Accounts feature.
2. Navigate to Permission Schemes. As shown in this GIF, by default Invite Guests option is turned on for all the users.
3. Also option is provided to change this setting for All Users and Team Administrators.
4. Try to change the setting and save. It throws an error "Your license does not support advance permissions"

Expected: The option to change Invite Guests should work without any errors.

Actual: When a sysadmin tries to change the setting to Invite Guests, an error is thrown.

Similarly this issue is seen with other options also on the Edit Permission Schemes. User should not get any errors when they modify the System Schemes.

QA Test Steps

follow the steps in description. validate that saving is possible without an error.

Reporter

None

Status

Mana

None

Assignee

Eli Yukelzon

QA Assignee

Rohitesh Gupta

Reporter

Rohitesh Gupta

Epic Link

None

Fix versions

Mattermost Team

Platform

Sprint

None

Labels

QA Testing Areas

Other (write in QA test steps)

GitHub Issue

None

Components

None
Configure