{{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 "insights"}}

Admin Insights

This page gives a peek into the database to glean some insights about a user. So far, this means taking a look at their block lists: how many people do they block (and who), and more importantly, how many people are blocking them. It may be useful information to guage a problematic user, if they are angering or creeping a lot of people out and ending up on a lot of block lists.

Block Lists

Forward List {{len .BlocklistInsights.Blocks}}

(Users who {{.User.Username}} is blocking)

Reverse List {{len .BlocklistInsights.BlockedBy}}

(Users who block {{.User.Username}})

    {{range .BlocklistInsights.BlockedBy}}
  • {{.Username}} {{.Date.Format "2006-01-02"}}
  • {{end}}
{{else 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}}