Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Flag to show if a user is admin or user #6043

Closed
mmarif4u opened this issue Feb 12, 2019 · 0 comments · Fixed by #6231
Closed

[API] Flag to show if a user is admin or user #6043

mmarif4u opened this issue Feb 12, 2019 · 0 comments · Fixed by #6231
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.

Comments

@mmarif4u
Copy link

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.

@lunny lunny added type/proposal The new feature has not been accepted yet but needs to be discussed first. modifies/api This PR adds API routes or modifies them labels Feb 28, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants