Commit Graph

87 Commits

Author SHA1 Message Date
Andreas Fitzek
a70a31411d
feat(core): Remove expression role mapping feature flag (#29361) 2026-04-28 08:31:14 +00:00
Csaba Tuncsik
e25a78e346
fix(core)!: Unify role mapping feature flag across backend and frontend (#28718) 2026-04-23 07:48:52 +00:00
n8n-assistant[bot]
85b7796434
chore: Bundle 2.x (#28844)
Co-authored-by: Matsu <matias.huhta@n8n.io>
Co-authored-by: Dawid Myslak <dawid.myslak@gmail.com>
Co-authored-by: Bernhard Wittmann <bernhard.wittmann@n8n.io>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Dimitri Lavrenük <20122620+dlavrenuek@users.noreply.github.com>
Co-authored-by: Benjamin Schroth <68321970+schrothbn@users.noreply.github.com>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: RomanDavydchuk <roman.davydchuk@n8n.io>
Co-authored-by: Sandra Zollner <sandra.zollner@n8n.io>
Co-authored-by: Milorad FIlipović <milorad@n8n.io>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2026-04-22 08:51:32 +03:00
Stephen Wright
26d578dfc8
feat: Disable manual role management when expression-based mapping is enabled (#28105) 2026-04-09 07:29:32 +00:00
Stephen Wright
a8f5ee3aeb
feat: Enable secure invite links (#27107) 2026-03-17 15:58:47 +00:00
Konstantin Tieber
4fe6b4fb73
feat(core): Improve secret proxy (#26522) 2026-03-05 20:01:37 +00:00
Guillaume Jacquart
095a7f9f0d
fix(core): Invalidate project owner cache when user role changes (#25895) 2026-02-19 11:39:44 +00:00
Guillaume Jacquart
a4a9234a39
chore(editor): Remove all calls to fetch all users and replace with targeted filtering (#25024) 2026-01-30 10:53:37 +00:00
Andreas Fitzek
e73d0f4137
chore(core): Ensure unique display name for roles (#20601) 2025-10-14 14:09:07 +02:00
Andreas Fitzek
e4a9934a6a
chore(core): Restrict user properties returned based on global scope (#20188) 2025-10-02 10:18:31 +02:00
Guillaume Jacquart
027edbe89d
feat(core): Allow custom project roles from being set to a user project relation (#18926) 2025-09-01 10:22:33 +02:00
Guillaume Jacquart
f757790394
feat(core): Rebuild project roles to load from the database (#17909) 2025-08-28 11:00:31 +02:00
Andreas Fitzek
ecad12b77a
chore(core): Use roles from database in global roles (#18768) 2025-08-26 17:53:46 +02:00
Andreas Fitzek
a21a03d4b0
Revert "chore(core): Use roles from database in global roles (#17853)" (#18738) 2025-08-25 14:29:28 +02:00
Andreas Fitzek
a8e4387f4d
chore(core): Use roles from database in global roles (#17853) 2025-08-22 16:02:01 +02:00
Andreas Fitzek
3b46dec616
chore(core): Hide invite URL in users list if not an admin (#17101) 2025-07-09 15:58:20 +02:00
Iván Ovejero
f3ef0a713c
refactor(core): Lintfix cli package (#17125) 2025-07-08 19:32:02 +02:00
Andreas Fitzek
7c8a152490
chore(core): Add inviteAcceptUrl to users list schema (#16871) 2025-07-01 12:46:49 +02:00
Iván Ovejero
7c33292483
refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
Andreas Fitzek
a6ded1fc80
fix(core): Pagination was broken for users list (#16697) 2025-06-25 16:54:22 +02:00
Andreas Fitzek
c4a50df824
chore(core): Expose mfaEnabled field to users list endpoint (#16654) 2025-06-24 14:21:43 +02:00
Andreas Fitzek
c0d1ff6e4c
feat(core): Extend user list to allow expanding the user list to projects (#16314)
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
2025-06-18 22:26:50 +02:00
Iván Ovejero
e122b3f0f9
refactor(core): Move UserRepository and subscribers to @n8n/db (#15352) 2025-05-13 15:24:26 +02:00
Iván Ovejero
1f6a36e26e
refactor(core): Move shared workflow and shared credentials repositories to @n8n/db (#15255) 2025-05-09 17:10:25 +02:00
Iván Ovejero
32b72011e6
refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
Iván Ovejero
20834abb56
refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
Ricardo Espinoza
5633502c63
feat(core): Allow transferring user's data to team project when deleting them (no-changelog) (#13941) 2025-03-18 15:25:40 -04:00
Ricardo Espinoza
c7bcdc544d
feat(core): Transfer folder structure when deleting user (no-changelog) (#13845) 2025-03-12 10:34:51 -04:00
कारतोफ्फेलस्क्रिप्ट™
39d5e0ff87
refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-01-06 10:21:24 +01:00
कारतोफ्फेलस्क्रिप्ट™
769ddfdd1d
refactor(core): Move some request DTOs to @n8n/api-types (no-changelog) (#10880) 2024-09-20 21:14:06 +02:00
Tomi Turtiainen
5156313074
refactor(core): Enable import/order eslint rule (#10794) 2024-09-12 19:07:18 +03:00
Iván Ovejero
6485ca0a4b
refactor(core): Enforce filename casing in cli package (no-changelog) (#10594) 2024-08-28 17:57:46 +02:00
Iván Ovejero
d7241cfc3a
refactor(core): Standardize filename casing for services and Public API (no-changelog) (#10579) 2024-08-28 13:59:27 +02:00
कारतोफ्फेलस्क्रिप्ट™
ab9835126e
refactor(core): Use @/databases/ instead of @db/ (no-changelog) (#10573) 2024-08-27 17:24:20 +02:00
Iván Ovejero
fd58a272e1
refactor(core): Standardize filename casing for controllers and databases (no-changelog) (#10564) 2024-08-27 16:44:32 +02:00
Iván Ovejero
797342343f
perf(core): Introduce concurrency control for main mode (#9453) 2024-06-12 15:05:43 +02:00
Danny Martini
8da0d6e9ba
fix(core): Fix type errors (no-changelog) (#9571) 2024-05-31 14:06:13 +02:00
कारतोफ्फेलस्क्रिप्ट™
08902bf941
refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527) 2024-05-31 09:40:03 +02:00
कारतोफ्फेलस्क्रिप्ट™
fc83005ba0
fix(core): Do not allow admins to delete the instance owner (#9489) 2024-05-22 16:23:40 +02:00
कारतोफ्फेलस्क्रिप्ट™
88b9a4070b
fix(core): Do not allow admins to generate password-reset links for instance owner (#9488) 2024-05-22 16:13:56 +02:00
Csaba Tuncsik
596c472ecc
feat: RBAC (#8922)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
Co-authored-by: Val <68596159+valya@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Valya Bullions <valya@n8n.io>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Danny Martini <despair.blue@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: oleg <me@olegivaniv.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Giulio Andreini <andreini@netseven.it>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Ayato Hayashi <go12limchangyong@gmail.com>
2024-05-17 10:53:15 +02:00
Iván Ovejero
b8ab049932
refactor(core, editor): Remove legacy nodesAccess (no-changelog) (#9016) 2024-04-05 13:17:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
d6deceacde
refactor(core): Remove roleId indirection (no-changelog) (#8413) 2024-01-24 13:38:57 +01:00
Iván Ovejero
2eb829a6b4
refactor(core): Use DI in execution services (no-changelog) (#8358) 2024-01-17 15:42:19 +01:00
कारतोफ्फेलस्क्रिप्ट™
cfe9525dd4
fix(core): Better input validation for the changeRole endpoint (#8189)
also refactored the code to
1. stop passing around `scope === 'global'`, since this code can be used
only for changing globalRole.
2. leak less details when input validation fails.

## Review / Merge checklist
- [x] PR title and summary are descriptive
- [x] Tests included
2024-01-03 09:33:35 +01:00
Iván Ovejero
9ac8825a67
refactor(core): Move error execution creation to execution service (no-changelog) (#8006)
Continue breaking down legacy helpers.

Note: `getUserById` is unused.
2023-12-21 14:15:46 +01:00
Iván Ovejero
29e7a98f3e
test(core): Use license mocker in RBAC tests (no-changelog) (#7912)
## Summary
Provide details about your pull request and what it adds, fixes, or
changes. Photos and videos are recommended.

...

#### How to test the change:
1. ...


## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers

...


## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again. A feature is not complete without tests.
  >
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227)
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce)
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e).
2023-12-04 13:56:48 +01:00
Val
1cb92ffe16
feat: Replace owner checks with scope checks (no-changelog) (#7846)
Github issue / Community forum post (link here to close automatically):
2023-11-29 14:48:36 +00:00
Iván Ovejero
476806ebb0
feat(core): Allow admin creation (#7837)
https://linear.app/n8n/issue/PAY-1038
2023-11-29 13:55:41 +01:00
Iván Ovejero
9b87a596ca
fix(core): Ensure member and admin cannot be promoted to owner (#7830)
https://linear.app/n8n/issue/PAY-985/add-user-role-modification-endpoint#comment-62355f6b
2023-11-27 17:35:58 +01:00