chore(workspaces): perform workspace project role update via events (#2980)

* chore(workspaces): perform workspace project role update via events

* chore(workspaces): commented

* fix(workspaces): transactions in events

* fix(workspaces): transaction limits
This commit is contained in:
Chuck Driesler
2024-09-13 09:30:06 +01:00
committed by GitHub
parent 8ae3965346
commit b5c9e62bcb
9 changed files with 219 additions and 231 deletions
@@ -432,11 +432,9 @@ describe('Workspaces GQL CRUD', () => {
// first 10 users
await createTestUsers(freeGuests)
await Promise.all(
freeGuests.map((guest) =>
assignToWorkspace(workspace, guest, Roles.Workspace.Guest)
)
)
for (const guest of freeGuests) {
await assignToWorkspace(workspace, guest, Roles.Workspace.Guest)
}
await Promise.all([
createTestUser(member),