[PR #2775] [CLOSED] fix(organization): Adding userId to organization.create will make tha… #4480

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2775
Author: @j13n
Created: 5/24/2025
Status: Closed

Base: mainHead: fix/organization/make-userid-organization-owner


📝 Commits (1)

  • e9cae4a fix(organization): Adding userId to organization.create will make that user owner of organization

📊 Changes

2 files changed (+22 additions, -4 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/organization.test.ts (+20 -0)
📝 packages/better-auth/src/plugins/organization/routes/crud-org.ts (+2 -4)

📄 Description

…t user owner of organization


🔄 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/2775 **Author:** [@j13n](https://github.com/j13n) **Created:** 5/24/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/organization/make-userid-organization-owner` --- ### 📝 Commits (1) - [`e9cae4a`](https://github.com/better-auth/better-auth/commit/e9cae4ab308410a45acc8564e80a03446297606e) fix(organization): Adding userId to organization.create will make that user owner of organization ### 📊 Changes **2 files changed** (+22 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/organization.test.ts` (+20 -0) 📝 `packages/better-auth/src/plugins/organization/routes/crud-org.ts` (+2 -4) </details> ### 📄 Description …t user owner of organization --- <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:48:40 -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#4480