Mattermost versions 10.11.x up to and including 10.11.9 do not properly enforce invite permissions when team settings are updated. This allows team administrators lacking the necessary permissions to circumvent restrictions and add users to their team using API requests. The issue involves bypassing intended limitations through the ''/api/teams/{team id}'' endpoint when updating team settings, specifically related to the `allow open invite` field.