You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Employee Directory Page exists as a blank page as part of issue #41. This page should render data only if the user's role is "Admin" and routes the user back to the homepage otherwise.
Blocked on Figma designs
Goals
Have a clean frontend flow for logins/sign ups
Frontend matches Figma designs
No weird authentication bugs (ie. it looks like you're signed in when you actually aren't)
Flows are different if 2FA is required
Errors are displayed when they happen (ie. user not found, user not invited to sign up, invalid 2FA code)
Implementation
A db call should be made using the current user's data and return the users role to check if they're an admin
Using conditional rendering, show the page if they're an admin and an error if they're not
The text was updated successfully, but these errors were encountered:
Safewaan
changed the title
Employee Directory Page Frontend Component
Employee Directory Page
May 23, 2023
Summary
Currently, the Employee Directory Page exists as a blank page as part of issue #41. This page should render data only if the user's role is "Admin" and routes the user back to the homepage otherwise.
Blocked on Figma designs
Goals
Implementation
The text was updated successfully, but these errors were encountered: