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

User Story 6, Users cannot navigate to certain paths #77

Open
5 of 7 tasks
memcmahon opened this issue May 20, 2019 · 0 comments
Open
5 of 7 tasks

User Story 6, Users cannot navigate to certain paths #77

memcmahon opened this issue May 20, 2019 · 0 comments

Comments

@memcmahon
Copy link
Collaborator

memcmahon commented May 20, 2019

Users should see a 404 error under the following conditions:
- if visitors try to navigate to any /profile path
- if visitors try to navigate to any /dashboard path
- if visitors try to navigate to any /admin path
- if registered users try to navigate to any /dashboard path
- if registered users try to navigate to any /admin path
- if merchants try to navigate to any /profile path
- if merchants try to navigate to any /admin path
- if merchants try to navigate to any /cart path
- if admin users try to navigate to any /profile path
- if admin users try to navigate to any /dashboard path
- if admin users try to navigate to any /cart path

If you think of any additional pages to block, please do so.

DO THESE STORIES FIRST:

  • User Story 2, Visitor Navigation
  • User Story 3, User Navigation
  • User Story 4, Merchant Navigation

Checklist:

  • base tests are written
  • base code is written to pass tests
  • edge case ("sad path") tests written (if required)
  • edge case code written (if required)
  • code is reviewed
  • branch is merged
  • all tests still pass

depends on turingschool-projects#271

depends on turingschool-projects#270

depends on turingschool-projects#269

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

No branches or pull requests

2 participants