[API] Get org permissions #7905

Closed
opened 2025-11-02 07:41:00 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @qwerty287 on GitHub (Sep 28, 2021).

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

Originally created by @qwerty287 on GitHub (Sep 28, 2021). ### 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_
GiteaMirror added the type/proposalmodifies/api labels 2025-11-02 07:41:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7905