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

8.3 Admin: have full rights to make backend requests to add, edit, and remove products. And view user information #43

Open
christine-zheng opened this issue Nov 8, 2022 · 1 comment
Assignees

Comments

@christine-zheng
Copy link
Contributor

christine-zheng commented Nov 8, 2022

( Parent ticket: #41 )

  • No one else should have access. (customers should not have access to add/edit/remove products)
  • Customers should not be able to view other customer information

All users (customer & admin will have access to below route:
/website/user/dashboard

  • when component mounts, fetch user
    • user will have userType of customer or admin
    • check if user is an Admin. if yes, render one extra button/icon
      - when clicked on, it will Link to route specifically for admin-functionality (ie /website/manage)
@christine-zheng christine-zheng changed the title 8.2 Admin: have full rights to make backend requests to add, edit, and remove products. And view user information 8.3 Admin: have full rights to make backend requests to add, edit, and remove products. And view user information Nov 10, 2022
@alliebug alliebug assigned alliebug and unassigned christine-zheng Nov 10, 2022
@alliebug
Copy link
Contributor

notes to self:
-add product button
-edit product button
-kick user off of platform
-promote user to admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants