UTDallasEPICS / ATC-Patient-Data

2 stars 0 forks source link

Role check partially implemented, without pulling email from Auth0 db. #42

Closed AdvayChandramouli closed 8 months ago

AdvayChandramouli commented 9 months ago

Currently redirects if user is not part of ATC organization to login/register pages. Implemented condition to check if user is part of ATC, but user's role does not match role parameters. Need to specify page it redirects to.

Couldn't fetch email from Auth0's database, and then pass that email as an argument to check what role that email is tied to within our ATC database for this step.