[PR #2082] feat: add admin organisation creation with user #2038

Open
opened 2026-02-26 20:32:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2082
Author: @ephraimduncan
Created: 10/19/2025
Status: 🔄 Open

Base: mainHead: feat/admin-create-user-with-org


📝 Commits (1)

  • db4b9de feat: add admin organisation creation with user

📊 Changes

11 files changed (+650 additions, -9 deletions)

View changed files

apps/remix/app/components/dialogs/admin-organisation-with-user-create-dialog.tsx (+255 -0)
📝 apps/remix/app/routes/_authenticated+/admin+/organisations._index.tsx (+10 -6)
📝 apps/remix/app/routes/_authenticated+/admin+/users._index.tsx (+7 -3)
packages/email/template-components/template-admin-user-welcome.tsx (+65 -0)
packages/email/templates/admin-user-welcome.tsx (+60 -0)
packages/lib/server-only/admin/send-admin-user-welcome-email.ts (+76 -0)
packages/lib/server-only/user/create-admin-user.ts (+50 -0)
📝 packages/lib/server-only/user/reset-password.ts (+4 -0)
packages/trpc/server/admin-router/create-organisation-with-user.ts (+93 -0)
packages/trpc/server/admin-router/create-organisation-with-user.types.ts (+28 -0)
📝 packages/trpc/server/admin-router/router.ts (+2 -0)

📄 Description

Demo

https://github.com/user-attachments/assets/538a86b3-54a9-4dce-bc99-9b103080ca47


🔄 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/documenso/documenso/pull/2082 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 10/19/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/admin-create-user-with-org` --- ### 📝 Commits (1) - [`db4b9de`](https://github.com/documenso/documenso/commit/db4b9dea07211ef340c59de48af95e59f71a6f69) feat: add admin organisation creation with user ### 📊 Changes **11 files changed** (+650 additions, -9 deletions) <details> <summary>View changed files</summary> ➕ `apps/remix/app/components/dialogs/admin-organisation-with-user-create-dialog.tsx` (+255 -0) 📝 `apps/remix/app/routes/_authenticated+/admin+/organisations._index.tsx` (+10 -6) 📝 `apps/remix/app/routes/_authenticated+/admin+/users._index.tsx` (+7 -3) ➕ `packages/email/template-components/template-admin-user-welcome.tsx` (+65 -0) ➕ `packages/email/templates/admin-user-welcome.tsx` (+60 -0) ➕ `packages/lib/server-only/admin/send-admin-user-welcome-email.ts` (+76 -0) ➕ `packages/lib/server-only/user/create-admin-user.ts` (+50 -0) 📝 `packages/lib/server-only/user/reset-password.ts` (+4 -0) ➕ `packages/trpc/server/admin-router/create-organisation-with-user.ts` (+93 -0) ➕ `packages/trpc/server/admin-router/create-organisation-with-user.types.ts` (+28 -0) 📝 `packages/trpc/server/admin-router/router.ts` (+2 -0) </details> ### 📄 Description ## Demo https://github.com/user-attachments/assets/538a86b3-54a9-4dce-bc99-9b103080ca47 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2038
No description provided.