n8n/packages
Iván Ovejero 7a86d36068
feat(core): Allow user role modification (#7797)
https://linear.app/n8n/issue/PAY-985

```
PATCH /users/:id/role
  unauthenticated user
    ✓ should receive 401 (349 ms)
  member
    ✓ should fail to demote owner to member (349 ms)
    ✓ should fail to demote owner to admin (359 ms)
    ✓ should fail to demote admin to member (381 ms)
    ✓ should fail to promote other member to owner (353 ms)
    ✓ should fail to promote other member to admin (377 ms)
    ✓ should fail to promote self to admin (354 ms)
    ✓ should fail to promote self to owner (371 ms)
  admin
    ✓ should receive 400 on invalid payload (351 ms)
    ✓ should receive 404 on unknown target user (351 ms)
    ✓ should fail to demote owner to admin (349 ms)
    ✓ should fail to demote owner to member (347 ms)
    ✓ should fail to promote member to owner (384 ms)
    ✓ should fail to promote admin to owner (350 ms)
    ✓ should be able to demote admin to member (354 ms)
    ✓ should be able to demote self to member (350 ms)
    ✓ should be able to promote member to admin (349 ms)
  owner
    ✓ should be able to promote member to admin (349 ms)
    ✓ should be able to demote admin to member (349 ms)
    ✓ should fail to demote self to admin (348 ms)
    ✓ should fail to demote self to member (354 ms)
```
2023-11-24 11:40:08 +01:00
..
@n8n feat(editor): Add routing middleware, permission checks, RBAC store, RBAC component (#7702) 2023-11-23 13:22:47 +02:00
@n8n_io/eslint-config perf: Make frontend linting faster (no-changelog) (#7717) 2023-11-22 15:01:22 +01:00
cli feat(core): Allow user role modification (#7797) 2023-11-24 11:40:08 +01:00
core fix(core): Show webhook urls for all webhook nodes (no-changelog) (#7783) 2023-11-22 17:45:26 +01:00
design-system feat(editor): Add node name and version to NDV node settings (#7731) 2023-11-23 18:28:07 +01:00
editor-ui test: Remove obsolete snapshot (#7803) 2023-11-24 11:53:28 +02:00
node-dev 🚀 Release 1.18.0 (#7780) 2023-11-22 14:32:25 +01:00
nodes-base fix(HTTP Request Node): Enable expressions for binary input data fields (#7782) 2023-11-23 11:58:50 +01:00
workflow feat(core): Add Support for custom CORS origins for webhooks (#7455) 2023-11-22 17:49:56 +01:00