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

Add Checkout permission (OCC-32) #154

Closed
sarahelsaig opened this issue Aug 18, 2022 · 0 comments · Fixed by #161
Closed

Add Checkout permission (OCC-32) #154

sarahelsaig opened this issue Aug 18, 2022 · 0 comments · Fixed by #161
Assignees
Milestone

Comments

@sarahelsaig
Copy link
Contributor

Check the permission in PaymentController.Index (you get there after clicking the Checkout button). If the authorization succeeds continue loading the page. Otherwise:

  • if the client is authenticated, return Forbidden.
  • if the client is anonymous, redirect to the login screen with ReturnUrl being ~/checkout.
@sarahelsaig sarahelsaig added this to the MVP milestone Aug 18, 2022
@sarahelsaig sarahelsaig changed the title Add Checkout permission. Add Checkout permission (OCC-32) Aug 19, 2022
@DemeSzabolcs DemeSzabolcs self-assigned this Aug 20, 2022
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

Successfully merging a pull request may close this issue.

2 participants