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

Allow admins to change names/email addresses on accounts #1356

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

lukegb
Copy link
Contributor

@lukegb lukegb commented Feb 4, 2024

Fixes #1092.

Note that this adds (another) N+1 query to the admin users page. We currently have a few, because of polymorphic purchases and relationships we don't eagerly prefetch.

Given this is admin-side, though, it's unlikely to be too much a problem, but I'm noting it now...

At the moment this includes _any_ user change (including self-initiated ones).
Perhaps this should be filtered down to just relevant fields?

Also this page is getting a bit long, now.
This makes Flask Debug Toolbar's SQLAlchemy queries thing work.
@russss russss enabled auto-merge (rebase) February 6, 2024 09:35
@russss russss merged commit 9b30dbe into main Feb 6, 2024
2 checks passed
@russss russss deleted the issue-1092-change-email-address branch February 6, 2024 09:37
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 "change email address" admin feature
3 participants