{{define "title"}}Compose a Message{{end}} {{define "content"}}

Admin Action

On user {{.User.Username}}

{{template "avatar-64x64" .User}}

{{.User.NameOrUsername}}

{{.User.Username}}

{{InputCSRF}} {{if eq .Intent "impersonate"}}

With great power...

By impersonating this user, you will be considered as "logged in" to their account and have access to their messages, profile, photos and settings.

Please respect user privacy and only impersonate an account as needed to diagnose a customer support issue or similar.

This event is logged and will be noticed. Write an explanation below why you are impersonating this user. It will be e-mailed to the admin mailing list and trigger an admin notification and be logged as a Report to the admin dashboard. Reports can be acknowledged, but not deleted.

Good reasons may include:

  • I need to diagnose a bug report given by one of our users (briefly describe what the bug is; e.g. user saw a database error at the top of a page).
  • A user has reported a Direct Message conversation and I need to take a look at the context. (There is no other way to read user DMs)

{{else if eq .Intent "ban"}}

This user is currently: {{if eq .User.Status "active"}} Active (not banned) {{else if eq .User.Status "disabled"}} Disabled {{else if eq .User.Status "banned"}} Banned {{end}}

Select a new status for them below:

{{else if eq .Intent "promote"}}

This user is currently: {{if .User.IsAdmin}} Admin {{else}} NOT Admin {{end}}

Select a new status for them below:

{{else if eq .Intent "delete"}}

Click the button below to deep delete this user account.

{{end}}
{{end}}