Files
better-auth/docs/content
Bereket Engida 695f224696 feat: team support for organization (#1425)
* feat: teams in org

* conditional based expose team endpoint

* mod on adapter

* team org wip

* wip

* dynamic type inference

* add test

* feat: enhance organization adapter with default team creation and member timestamps

* feat: add maximum teams limit and prevent removal of last team

* refactor: remove outdated description from plugins documentation

* feat: add teams functionality with management and schema updates

* merge v1.2

* chore: cleanup

* fix(internal-adapter): safely handle lowercase email conversion

* feat(organization): enhance team and organization management tests and functionality

- Update organization and team tests with more comprehensive scenarios
- Modify team creation, invitation, and removal processes
- Improve access control and role management in organization tests
- Add support for multiple team and member management scenarios

* refactor(better-auth): remove unnecessary type extensions for User and Session

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-03-01 00:46:31 +03:00
..