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] Get org permissions #17173

Closed
qwerty287 opened this issue Sep 28, 2021 · 0 comments · Fixed by #17232
Closed

[API] Get org permissions #17173

qwerty287 opened this issue Sep 28, 2021 · 0 comments · Fixed by #17232
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.
Milestone

Comments

@qwerty287
Copy link
Contributor

Feature Description

It would be very nice if there is an endpoint to get a summary of the permissions a user has in an org (if the user is in a team that has access to the certain permissions):

  1. Admin status (if user is an org admin/owner)
  2. Repository creation

If the user isn't in the org it could just return "false" for both fields or just return an error.

Screenshots

No response

@noerw noerw added 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. labels Sep 29, 2021
@6543 6543 added this to the 1.16.0 milestone Sep 30, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
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.

3 participants