HKN-UCSD / old-hkn-server

Member portal for UCSD HKN members.
MIT License
5 stars 6 forks source link

UserContextValues's userRole in App now uses backend api to get user's role #164

Closed thai-truong closed 3 years ago

thai-truong commented 3 years ago

It used to get the roles from firebase custom claims.

netlify[bot] commented 3 years ago

Deploy preview for hknucsd-portal-dev ready!

Built with commit e1bf9a093805faee7539d925079152334a5b8769

https://deploy-preview-164--hknucsd-portal-dev.netlify.app

thai-truong commented 3 years ago

Lmao since this needs the auth page refresh bug fix + legit test accounts the cypress literally cannot pass : (

thai-truong commented 3 years ago

Or well it needs the TODOs that I put in as comments at least. I left the TODOs there bc I thouht you'd have to do smth like that for the auth page refresh bug fix @godwinpang. Let me know if that is or isn't the case. If it isn't, I'll do the TODOs myself.