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

Only Active & Approved Educator accounts should be able to access Educator-only pages #231

Open
blnkt opened this issue Sep 30, 2022 · 0 comments
Labels
bug Something isn't working must-have High Priority

Comments

@blnkt
Copy link
Contributor

blnkt commented Sep 30, 2022

Expected Behavior

ONLY AN ISSUE WITH GOOGLE OAuth ACCOUNTS

Given a Sign up flow that looks like Initial sign up -> Account is created awaiting Activation -> User Activates account -> Account is Active in suspended state -> Admin Unsuspend Account -> Account fully ready to go. User should not be able to login or access Educator only pages until their account is both Active and Unsuspended.

Actual Behavior

User can access Educator only pages when their account is Active and Suspended.

Steps to Reproduce the Problem

  1. Sign up as an educator using Google Oauth
  2. Click through activation link in email
  3. Visit this Educator only page
  4. Login when prompted
  5. You can see the stuff even though your account is still in a suspended state
  6. N.B. At this point, the Main header login status indicators would seem to indicate User is not logged in yet Educator Only content is viewable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working must-have High Priority
Projects
None yet
Development

No branches or pull requests

1 participant