Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC: Employee Directory #51

Open
5 tasks
Safewaan opened this issue Mar 15, 2023 · 0 comments
Open
5 tasks

EPIC: Employee Directory #51

Safewaan opened this issue Mar 15, 2023 · 0 comments
Labels

Comments

@Safewaan
Copy link
Collaborator

Safewaan commented Mar 15, 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

  • 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
@Safewaan Safewaan changed the title Employee Directory Page Frontend Component Employee Directory Page May 23, 2023
@Safewaan Safewaan added the front-end involves front-end work label May 24, 2023
@Safewaan Safewaan added epic Employee Directory Features related to employee dir and removed front-end involves front-end work labels Jun 4, 2023
@Safewaan Safewaan changed the title Employee Directory Page EPIC: Employee Directory Jun 4, 2023
@Safewaan Safewaan removed the Employee Directory Features related to employee dir label Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant