1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/src/lib
Gastón Fournier 04e55831e3
chore: add another system user for admin tokens (#5915)
## About the changes
This admin token user will help us differentiate actions performed by
the system from actions performed with an admin token.

Events created with an admin token should have the id of this user as
createdByUserId property and the username of the token used as the
createdBy property. i.e.
```json
{
  "id": 11,
  "type": "pat-created",
  "createdBy": "admin-token",
  "createdAt": "2024-01-16T13:16:27.887Z",
  "createdByUserId": -42,
  "data": {
    "description": "admin-pat",
    "expiresAt": "2024-02-15T13:16:25.586Z",
    "secret": "***",
    "userId": 1
  },
  "preData": null,
  "tags": [],
  "featureName": null,
  "project": null,
  "environment": null
}
```
2024-01-16 19:28:36 +01:00
..
__snapshots__ chore: remove schedulers (#5895) 2024-01-15 15:10:15 +01:00
addons Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
db feat: prevent double daily metrics insert (#5906) 2024-01-16 13:52:56 +01:00
domain/project-health
error Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
features feat: prevent double daily metrics insert (#5906) 2024-01-16 13:52:56 +01:00
middleware Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
openapi feat: Prometheus last day metrics (#5878) 2024-01-15 15:31:38 +01:00
proxy chore(deps): update dependency @biomejs/biome to v1.4.1 (#5709) 2024-01-10 09:11:49 +00:00
routes feat: Prometheus last day metrics (#5878) 2024-01-15 15:31:38 +01:00
schema feat: implement createdByUserId for all features (#5725) 2023-12-22 14:33:16 +01:00
segments fix: missing user id in segment update (#5414) 2023-11-24 11:17:36 +01:00
services Updated scheduled-change-conflict (#5908) 2024-01-16 16:12:25 +02:00
types chore: add another system user for admin tokens (#5915) 2024-01-16 19:28:36 +01:00
util Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
app.test.ts feat: Make compression middleware optional (#5306) 2023-12-16 08:06:26 +01:00
app.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
create-config.test.ts feat: feature search stub (#5143) 2023-10-25 10:50:59 +02:00
create-config.ts chore: remove schedulers (#5895) 2024-01-15 15:10:15 +01:00
default-custom-auth-deny-all.ts chore: expose custom-handler-auth type (#5287) 2023-11-07 10:37:09 +01:00
internals.ts fix: export NotFoundError and ISegmentService in internals.ts (#4997) 2023-10-11 14:31:45 +03:00
logger.test.ts
logger.ts
metric-events.ts feat: scheduled functions observability (#5377) 2023-11-21 13:42:38 +01:00
metrics.test.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
metrics.ts feat: Prometheus last day metrics (#5878) 2024-01-15 15:31:38 +01:00
server-impl.test.ts chore(deps): update dependency @biomejs/biome to v1.4.0 (#5288) 2023-11-28 09:32:00 +00:00
server-impl.ts feat: adds created_by_user_id to all events (#5619) 2023-12-14 13:45:25 +01:00