Instructors cannot Request Instructor Access (Rejected/Incomplete contacts)
brittanyearly opened this issue · comments
Describe the bug
When an Instructor account is Rejected, for example, they can Request Instructor Access from the Accounts Drop Down. Currently, clicking that brings you to Profile, not the form to fill out.
Appears like the URL is redirected from where the form would be.
To Reproduce
- Go to staging.openstax.org
- Sign in as a Rejected or Incomplete Sign up Account - be12+569t_s@rice.edu
- Click on Name
- Click Request Instructor Access
- Notice profile is shown
Expected behavior
User would see the form to complete.
Note
According to #2124, Accounts should redirect from profile to the appropriate form.
#2124 says:
We have two new statuses for users in accounts:
rejected_by_sheerid
andincomplete_signup
.We should handle these by changing the menu in OSWeb for them as follows:
rejected_by_sheerid
=> "Pending Instructor Access", with link to profile.
incomplete_signup
=> "Verify your email address", with link to profile.When a user is in either status the menu is reflecting their status and links them to their profile (which accounts will handle and redirect the user to the correct place)
When use is sent to profile, need to be sent back to the correct part of the signup flow