[PR #2374] [MERGED] feat(organization): maximumMembersPerTeam support #4285

Closed
opened 2026-03-13 11:40:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2374
Author: @ping-maxwell
Created: 4/20/2025
Status: Merged
Merged: 6/14/2025
Merged by: @Bekacru

Base: mainHead: feat/org/maximum-members-per-team


📝 Commits (2)

  • fbac2fe feat(organization): maximumMembersPerTeam support
  • df3bbc7 chore: cleanup

📊 Changes

5 files changed (+192 additions, -1 deletions)

View changed files

📝 docs/content/docs/plugins/organization.mdx (+8 -1)
📝 packages/better-auth/src/plugins/organization/error-codes.ts (+1 -0)
📝 packages/better-auth/src/plugins/organization/organization.ts (+16 -0)
📝 packages/better-auth/src/plugins/organization/routes/crud-invites.ts (+68 -0)
📝 packages/better-auth/src/plugins/organization/team.test.ts (+99 -0)

📄 Description

Allow configuration of maximum number of members allowed in a team.

  • docs
  • tests

Demo:
image

Further context:
https://discord.com/channels/1288403910284935179/1305306590848614423/1363442367759384696


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2374 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 4/20/2025 **Status:** ✅ Merged **Merged:** 6/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/org/maximum-members-per-team` --- ### 📝 Commits (2) - [`fbac2fe`](https://github.com/better-auth/better-auth/commit/fbac2fe7a18f9378156024507cc5a6b6d43cf9b2) feat(organization): maximumMembersPerTeam support - [`df3bbc7`](https://github.com/better-auth/better-auth/commit/df3bbc70fbc1e65c9ce8f52477860cdc26f5f9d7) chore: cleanup ### 📊 Changes **5 files changed** (+192 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/organization.mdx` (+8 -1) 📝 `packages/better-auth/src/plugins/organization/error-codes.ts` (+1 -0) 📝 `packages/better-auth/src/plugins/organization/organization.ts` (+16 -0) 📝 `packages/better-auth/src/plugins/organization/routes/crud-invites.ts` (+68 -0) 📝 `packages/better-auth/src/plugins/organization/team.test.ts` (+99 -0) </details> ### 📄 Description Allow configuration of maximum number of members allowed in a team. - [x] docs - [x] tests Demo: <img width="379" alt="image" src="https://github.com/user-attachments/assets/28dad5cc-36a7-4159-8f59-c2d73e0d8f2a" /> Further context: https://discord.com/channels/1288403910284935179/1305306590848614423/1363442367759384696 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:40:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4285