sillsdevarchive / languageforge-mongo-2022

(archived) language forge experimental code with mongo (false start)
MIT License
0 stars 0 forks source link

Add project roles to JWT token #12

Closed myieye closed 1 year ago

myieye commented 1 year ago

Fixes #6

Adds a user's project roles to their JWT token / user context and uses them to filter for the corresponding projects.

A quick demo (it's not obvious, but the admin is only a member of 3 out of 4 projects):

https://user-images.githubusercontent.com/12587509/214618410-6a80c21f-abfb-43fd-85e0-ee411278632b.mp4

myieye commented 1 year ago

@hahn-kev I've implemeted your suggestions. I accidently squashed the Linq V2 change into the test commit.