mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
832884b4f5
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 |
||
---|---|---|
.. | ||
createPrivateProjectChecker.ts | ||
fakePrivateProjectChecker.ts | ||
privateProjectChecker.ts | ||
privateProjectCheckerType.ts | ||
privateProjectStore.ts | ||
privateProjectStoreType.ts |