feat: V2 Org Memberships (#15578)

* init

* --WIP

* WIP

* ...

* more wip

* doc

* address feedback --WIP

* further requested changes

* fix

* add missing parseIntPipe

* chore: code review comments + e2e tests

* fixup! chore: code review comments + e2e tests

* fixup! fixup! chore: code review comments + e2e tests

* fix: don't allow passing teamId for org membership create/update

* fix: improve docs and DTOs

---------

Co-authored-by: Morgan Vernay <[email protected]>
This commit is contained in:
Syed Ali ShahbazandMorgan Vernay authored and GitHub committed 2024-07-18 03:43:20 +00:00
1 parent af3d2e6879
commit 22fc47f69f
17 files changed
+1482 -260

No files matched your search

-1
View File
@@ -353,7 +353,6 @@ model Profile {
@@unique([userId, organizationId])
// Allow username reuse only across different organizations
@@unique([username, organizationId])
@@index([uid])
@@index([userId])
@@index([organizationId])