Improve get org permissions api #23776
Labels
topic/api
Concerns mainly the API
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
It seems that we only have
Team.Authorize
before #17811, so maybeTeam.Authorize
is unnecessary now?If it is unnecessary, maybe we need to do some changes to
GetUserOrgsPermissions
too?gitea/routers/api/v1/org/org.go
Lines 105 to 169 in 6706ac2
origin comment: #23729 (comment)
Screenshots
No response
The text was updated successfully, but these errors were encountered: