mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-01 16:57:35 +00:00
Backport #40060 by @soujasK Fixes https://github.com/go-gitea/gitea/issues/40056 The admin web UI lists every account type except organizations, but `gitea admin user list` and `GET /api/v1/admin/users` only returned individual users. That hid bots created for CI, even though the CLI and the admin API can both create and manage them. - The admin web UI, the admin API and the CLI share one type list: individual, reserved, bot and remote accounts. - `gitea admin user list` (and `--admin`) gains a `Type` column showing `User`, `Bot`, `Reserved` or `Remote`. Signed-off-by: Soujas K <kudchadkarsoujas@gmail.com> Co-authored-by: soujasK <121026960+soujasK@users.noreply.github.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>