-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
- Gitea version (or commit ref): 1.12.6 (release)
- Git version: 2.25.1
- Operating system: Linux 5.4.0-48-generic x86_64
- I get Gitea binnary from releases in Github
- Run gitea from systemd (used config from gitea docs)
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No (need admin rights)
- Log gist: --
Description
I can't find any way for admin api to get user state like 'active', 'prohibit_login' and other checkboxes in admin page.
I thing it should be under /admin/users/{username} or /users/{username} (but it require additional role checking and changing output model)
Screenshots
angelsanchez
Metadata
Metadata
Assignees
Labels
modifies/apiThis PR adds API routes or modifies themThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.