[API] Flag to show if a user is admin or user #6043
Labels
modifies/api
This PR adds API routes or modifies them
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Hi,
Is there a flag in the API where it determines if the user response returned has a flag if he/she is admin or not?
I know a user cannot call for example create user API, only admin can. But the flag will provide more authority what a user can see outside Gitea.
The text was updated successfully, but these errors were encountered: