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 an impersonate flow (#552) #798

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ItsElaineTime
Copy link

What github issue is this PR for, if any?

Resolves #552

What does this code do, and why?

Adds a Development-environment-only flow to impersonate any user, without requiring local OAuth, to make it easier to test users in various states.

How is this code tested?

Tested locally with development database.

Are any database migrations required by this change?

No.

Are there any configuration or environment changes needed?

No.

Screenshots please :)

impersonate option impersonate user select

Add a Development-environment-only flow to impersonate any user, without requiring local OAuth, to make it easier to test users in various states.
@ItsElaineTime
Copy link
Author

I'd especially love a couple of knowledgeable folks to take a look and review this:

  • It touches user auth
  • It's been over a decade since I've written Rails code

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 this pull request may close these issues.

Add a fake user for local testing.
1 participant