[PR #163] [CLOSED] Multi tenant #374

Closed
opened 2026-03-03 11:29:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/163
Author: @jagadeesh507
Created: 5/9/2025
Status: Closed

Base: mainHead: multi-tenant


📝 Commits (10+)

  • bd2be39 chore: payload version updated
  • f783521 feat: add multi-tenant support with tenants collection and user roles
  • 7eba8b2 feat: implement username validation and tenant creation in sign-up process
  • 6046755 feat: add middleware for organisation cookie management and path matching
  • 114730f feat: add experimental authInterrupts configuration to next.js setup to use for forbidden() function
  • dbca587 feat: integrate tenant validation in protected client for user authentication
  • 2eabbc3 chore: added getCurrentUser function to get current user
  • 806d10f feat: implement getTenant function for tenant retrieval and validation
  • b6273ef fix: navigation path updated
  • 5275a5b feat: update multiTenantPlugin collections to include gitProviders and dockerRegistries

📊 Changes

55 files changed (+3433 additions, -2577 deletions)

View changed files

📝 .vscode/settings.json (+1 -0)
📝 env.ts (+1 -1)
📝 next.config.ts (+3 -0)
📝 package.json (+7 -6)
📝 pnpm-lock.yaml (+2570 -2396)
📝 src/actions/auth/index.ts (+40 -3)
📝 src/actions/auth/validator.ts (+7 -7)
📝 src/actions/cloud/aws/index.ts (+8 -4)
📝 src/actions/cloud/index.ts (+14 -4)
📝 src/actions/deployment/index.ts (+5 -2)
📝 src/actions/dockerRegistry/index.ts (+13 -3)
📝 src/actions/gitProviders/index.ts (+23 -14)
📝 src/actions/project/index.ts (+11 -4)
📝 src/actions/securityGroups/index.ts (+21 -8)
📝 src/actions/server/index.ts (+6 -3)
📝 src/actions/service/index.ts (+11 -6)
📝 src/actions/sshkeys/index.ts (+11 -4)
📝 src/actions/templates/index.ts (+49 -13)
📝 src/app/(frontend)/(auth)/layout.tsx (+1 -1)
📝 src/app/(frontend)/(auth)/sign-up/page.tsx (+3 -4)

...and 35 more files

📄 Description

No description provided


🔄 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/dflow-sh/dflow/pull/163 **Author:** [@jagadeesh507](https://github.com/jagadeesh507) **Created:** 5/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `multi-tenant` --- ### 📝 Commits (10+) - [`bd2be39`](https://github.com/dflow-sh/dflow/commit/bd2be394f9b1209b869d9aacb7c590af6731a2e9) chore: payload version updated - [`f783521`](https://github.com/dflow-sh/dflow/commit/f7835219bbcf1bd799eea92b31f83a03d88d51f3) feat: add multi-tenant support with tenants collection and user roles - [`7eba8b2`](https://github.com/dflow-sh/dflow/commit/7eba8b2b70b8fade77094be0bbb12eb7ce61aabc) feat: implement username validation and tenant creation in sign-up process - [`6046755`](https://github.com/dflow-sh/dflow/commit/60467550cda90e1e56de6bb7c3a49fdc5e04f070) feat: add middleware for organisation cookie management and path matching - [`114730f`](https://github.com/dflow-sh/dflow/commit/114730fb670b66fcbac7eba4a796d4b19a4aa231) feat: add experimental authInterrupts configuration to next.js setup to use for forbidden() function - [`dbca587`](https://github.com/dflow-sh/dflow/commit/dbca587554ce0eea0b5c9f6422e8995b9db4d65e) feat: integrate tenant validation in protected client for user authentication - [`2eabbc3`](https://github.com/dflow-sh/dflow/commit/2eabbc36fdc9b978bce21abfb902c6aaec0456ce) chore: added getCurrentUser function to get current user - [`806d10f`](https://github.com/dflow-sh/dflow/commit/806d10f036c6bf0ea9b070424aff4bd2d455f95f) feat: implement getTenant function for tenant retrieval and validation - [`b6273ef`](https://github.com/dflow-sh/dflow/commit/b6273efda8da0ba407712df17cabff4032e493c4) fix: navigation path updated - [`5275a5b`](https://github.com/dflow-sh/dflow/commit/5275a5b8a5991620667cb6834df8979d234b95b6) feat: update multiTenantPlugin collections to include gitProviders and dockerRegistries ### 📊 Changes **55 files changed** (+3433 additions, -2577 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/settings.json` (+1 -0) 📝 `env.ts` (+1 -1) 📝 `next.config.ts` (+3 -0) 📝 `package.json` (+7 -6) 📝 `pnpm-lock.yaml` (+2570 -2396) 📝 `src/actions/auth/index.ts` (+40 -3) 📝 `src/actions/auth/validator.ts` (+7 -7) 📝 `src/actions/cloud/aws/index.ts` (+8 -4) 📝 `src/actions/cloud/index.ts` (+14 -4) 📝 `src/actions/deployment/index.ts` (+5 -2) 📝 `src/actions/dockerRegistry/index.ts` (+13 -3) 📝 `src/actions/gitProviders/index.ts` (+23 -14) 📝 `src/actions/project/index.ts` (+11 -4) 📝 `src/actions/securityGroups/index.ts` (+21 -8) 📝 `src/actions/server/index.ts` (+6 -3) 📝 `src/actions/service/index.ts` (+11 -6) 📝 `src/actions/sshkeys/index.ts` (+11 -4) 📝 `src/actions/templates/index.ts` (+49 -13) 📝 `src/app/(frontend)/(auth)/layout.tsx` (+1 -1) 📝 `src/app/(frontend)/(auth)/sign-up/page.tsx` (+3 -4) _...and 35 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:29:37 +03:00
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/dflow#374
No description provided.