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 #435

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

Comments

@memcmahon
Copy link
Collaborator

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 #208

child of #274

depends on #206

depends on #228

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

1 participant