Skip to content

Comments

fix: Enforce seat limit self hosted#6663

Merged
matthewelwell merged 13 commits intomainfrom
fix/enforce-seat-limit-self-hosted
Feb 23, 2026
Merged

fix: Enforce seat limit self hosted#6663
matthewelwell merged 13 commits intomainfrom
fix/enforce-seat-limit-self-hosted

Conversation

@matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Feb 5, 2026

Changes

Enforces seat limits for self-hosted deployments.

Required changes:

  • API should prevent users joining organisations when organisation is already at or over seat limit
  • FE should show information on the number of seats available / being used in the users settings page
  • FE should gracefully handle an invite failing due to there not being enough seats available

Contributes to flagsmith/flagsmith-private#105 and https://github.com/Flagsmith/infrastructure/issues/267

How did you test this code?

Ran the FE locally to verify the FE changes. Added / updated unit tests to verify API changes.

@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Preview Feb 23, 2026 11:12am
flagsmith-frontend-preview Ignored Ignored Preview Feb 23, 2026 11:12am
flagsmith-frontend-staging Ignored Ignored Preview Feb 23, 2026 11:12am

Request Review

@matthewelwell matthewelwell force-pushed the fix/enforce-seat-limit-self-hosted branch from 3464066 to 31de36b Compare February 19, 2026 18:10
@github-actions github-actions bot added fix and removed fix labels Feb 19, 2026
@github-actions github-actions bot added fix and removed fix labels Feb 19, 2026
@matthewelwell matthewelwell requested review from a team as code owners February 19, 2026 22:26
@matthewelwell matthewelwell requested review from Zaimwa9 and removed request for a team February 19, 2026 22:26
@matthewelwell matthewelwell changed the title fix: enforce seat limit self hosted fix: Enforce seat limit self hosted Feb 19, 2026
@github-actions github-actions bot added fix and removed fix labels Feb 19, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-6663 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-6663 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-6663 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-6663 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-6663 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-6663 Finished ✅ Results

Copy link
Contributor

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to confirm that the difference i'm seeing on the error message display is not due to our local setups somehow

@github-actions github-actions bot added fix and removed fix labels Feb 20, 2026
Zaimwa9
Zaimwa9 previously approved these changes Feb 20, 2026
Copy link
Contributor

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New frontend developer unlocked 🚀

@matthewelwell matthewelwell merged commit 17671d0 into main Feb 23, 2026
34 checks passed
@matthewelwell matthewelwell deleted the fix/enforce-seat-limit-self-hosted branch February 23, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API fix front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants