ToolJet/server
Shantanu Mane c2d8ba08ea
Add invitation token and invite URL generation for external API users and expand test coverage (#16413)
* feat(external-api): return per-workspace inviteUrl in POST /ext/users response

* test(external-api): expand POST /ext/users coverage — roles, multi-group, and failure conditions

Adds 8 new e2e tests covering role assignment, per-workspace role variance,
multiple custom groups, and all key failure paths (duplicate email, missing
workspace, default group in groups field, nonexistent group, end-user/builder
group conflict). Also seeds the builder default group in maybeCreateDefaultGroupPermissions
to unblock role-assignment tests against test orgs.

* test(external-api): clarify conflicting-permissions error shape in users spec

* feat(external-api): update default status to INVITED in user-related DTOs and add defaultOrganizationId field

* feat(external-api): enhance invited user session guard and expand user creation tests for archived status

* feat(external-api): add tests for org-invite URL behavior based on user and workspace status

* feat(external-api): update user status handling and invite URL logic in tests

* feat(external-api): update invite URL logic and OrganizationUser status handling for active users
2026-05-21 00:50:03 +05:30
..
data-migrations feat: QueryManager - add fx and custom message for query confirmation (#16320) 2026-05-18 22:33:39 +05:30
ee@7049436bb4 🚀 chore: update submodules to latest lts-3.16 after auto-merge (#16464) 2026-05-19 10:53:05 +05:30
lib refactor: use setup script in top level context 2025-09-11 00:15:36 +05:30
migrations Merge pull request #16418 from ToolJet/feat/white-labelling-banner 2026-05-21 00:48:43 +05:30
scripts Chore: Rehabilitate backend test suite (#15740) 2026-04-08 13:09:49 +05:30
src Add invitation token and invite URL generation for external API users and expand test coverage (#16413) 2026-05-21 00:50:03 +05:30
templates Merge pull request #13780 from ToolJet/fix/bugs-11 2025-08-12 22:49:40 +05:30
test Add invitation token and invite URL generation for external API users and expand test coverage (#16413) 2026-05-21 00:50:03 +05:30
.eslintrc.js Initial commit 2025-02-25 12:22:50 +05:30
.gitignore Chore: Rehabilitate backend test suite (#15740) 2026-04-08 13:09:49 +05:30
.node-version Platform LTS Final fixes (#13221) 2025-07-09 22:36:41 +05:30
.npmrc
.version chore: update version to 3.20.161-lts across all components 2026-05-18 22:52:41 +05:30
data-migration-config.ts Node upgrade 18->22 (#12836) 2025-06-17 13:01:46 +05:30
dev-entrypoint.sh rebase with lts-3.16 2026-01-27 11:58:36 +05:30
eslint.config.js Cloud licensing related changes (#13033) 2025-07-02 10:57:36 +05:30
jest.config.ts Chore: Rehabilitate backend test suite (#15740) 2026-04-08 13:09:49 +05:30
nest-cli.json Revamp: user journey emails (#9223) 2024-04-01 18:11:42 +05:30
ormconfig.ts Chore: Rehabilitate backend test suite (#15740) 2026-04-08 13:09:49 +05:30
package-lock.json Merge pull request #16418 from ToolJet/feat/white-labelling-banner 2026-05-21 00:48:43 +05:30
package.json fix(otel): update OpenTelemetry exporters and improve uncaught exception handling 2026-04-10 11:52:35 +05:30
README.md
tsconfig.build.json Fixed: tsconfig oauth build issue 2025-02-25 14:54:54 +05:30
tsconfig.json Chore: Rehabilitate backend test suite (#15740) 2026-04-08 13:09:49 +05:30

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.