Improve get org permissions api #10544

Open
opened 2025-11-02 09:10:52 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @yp05327 on GitHub (Mar 29, 2023).

Feature Description

It seems that we only have Team.Authorize before #17811, so maybe Team.Authorize is unnecessary now?
If it is unnecessary, maybe we need to do some changes to GetUserOrgsPermissions too?
6706ac2a0f/routers/api/v1/org/org.go (L105-L169)

origin comment: https://github.com/go-gitea/gitea/pull/23729#issuecomment-1486057698

Screenshots

No response

Originally created by @yp05327 on GitHub (Mar 29, 2023). ### Feature Description It seems that we only have `Team.Authorize` before #17811, so maybe `Team.Authorize` is unnecessary now? If it is unnecessary, maybe we need to do some changes to `GetUserOrgsPermissions` too? https://github.com/go-gitea/gitea/blob/6706ac2a0f5f2fe4f8e2555be7e2a8b4d5946398/routers/api/v1/org/org.go#L105-L169 origin comment: https://github.com/go-gitea/gitea/pull/23729#issuecomment-1486057698 ### Screenshots _No response_
GiteaMirror added the topic/apitype/proposaltype/feature labels 2025-11-02 09:10:52 -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#10544