Commit c1d4393e authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Introduce the UserId and ContextId newtypes

This is a first stepping stone in avoiding bugs by having `UserId` and
`ContextId` being proper types, and not synonyms.

We also refactor things to have `AuthenticatedUser` carry the `UserId`.
parent 37a16868
Pipeline #5266 passed with stages
in 66 minutes and 56 seconds