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 58, Admin is redirected from User profile to Merchant dashboard #55

Closed
7 tasks
iandouglas opened this issue Apr 1, 2019 · 0 comments · Fixed by #165
Closed
7 tasks

User Story 58, Admin is redirected from User profile to Merchant dashboard #55

iandouglas opened this issue Apr 1, 2019 · 0 comments · Fixed by #165

Comments

@iandouglas
Copy link

iandouglas commented Apr 1, 2019

As an admin user
If I visit a profile page for a user, but that user is a merchant
Then I am redirected to the appropriate merchant dashboard page.
eg, if I visit "/admin/users/7" but that user is a merchant
Then I am redirected to "/admin/merchants/7"
And I see their merchant dashboard page

DO THESE STORIES FIRST:

  • User Story 56, Admin User Profile Page
  • User Story 38, Admin can see a merchant's dashboard

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

child of #59

child of #125

depends on #57

depends on #79

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

Successfully merging a pull request may close this issue.

2 participants