1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Jaanus Sellin
832884b4f5
fix: admin token should be passed forward from controllers ()
We were sending `user.id` to the service, but if an admin token is used,
there is no `user.id.` Instead, there is
`user.internalAdminTokenUserId`. so we need to use the special method
`extractUserIdFromUser`.

This PR adds this implementation, and now the service correctly
retrieves the appropriate ID for admins.

Related to: https://github.com/Unleash/unleash/pull/5924
2024-01-30 11:03:15 +02:00
Christopher Kolstad
bfa82d79bf
feat: adds created_by_user_id to all events ()
### What
Adds `createdByUserId` to all events exposed by unleash. In addition
this PR updates all tests and usages of the methods in this codebase to
include the required number.
2023-12-14 13:45:25 +01:00
Fredrik Strand Oseberg
71431c7a1d
refactor/last seen at archived ()
Refactor global archive view and project archive view to include last
seen at by environment
2023-10-20 13:17:41 +02:00