Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 } ```
- Loading branch information