Skip to content

Compile a Customized Mattermost Version Without Team Size Restrictions #1

Description

@xangcastle

Ticket: Compile a Customized Mattermost Version Without Team Size Restrictions

Summary
We need to build a custom version of Mattermost that removes or increases the default limit on the number of users that can be added to each team, allowing unrestricted team sizes.

Description
1. Review Current Limitations
• Identify the Mattermost source files or configuration settings that enforce user limits on teams.
• Confirm whether this restriction is configurable or hardcoded in the open-source codebase.
2. Implement Code Changes or Configuration Adjustments
• Modify the relevant constants or settings to allow unlimited (or a significantly higher) number of users per team.
• Ensure no unintended side effects on user permissions, performance, or database schema.
3. Build and Test
• Compile the customized version of Mattermost.
• Deploy it to a testing environment.
• Validate that newly created teams and existing teams can exceed the previous user limit.
4. Document Changes
• Provide release notes detailing the modification.
• Include any considerations (e.g., potential performance impacts when teams grow very large).

Acceptance Criteria
1. A custom Mattermost build is successfully compiled and runs in our environment.
2. Teams can exceed the previous user limit without errors or performance bottlenecks.
3. Documentation is updated to reflect the removal (or increase) of user limit restrictions.
4. QA sign-off confirming that all essential features (messaging, user management, notifications, etc.) remain functional.

Test Plan
1. Deployment and Initial Setup
• Deploy the new custom build to a staging or test environment.
• Confirm the environment mirrors production configurations (authentication, database connections, etc.).
2. Team Creation Test
• Create a test team and add users until reaching the former limit.
• Continue adding additional users to confirm that the new version permits team sizes beyond the prior threshold.
3. Functional Verification
• Verify core Mattermost features (posting messages, file uploads, notifications, etc.) to ensure they are not impacted by the change.
• Confirm that user permissions and role-based access remain intact even when the team size is larger than before.
4. Performance Observations
• Monitor server performance (CPU, memory, and response times) under high user load.
• Validate that there are no noticeable degradation issues with large teams.

By removing (or greatly increasing) the limit on team size, we can accommodate larger groups within Mattermost and streamline team management.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions