[API] user/repos Some repos with access are not returned #11949

Closed
opened 2025-11-02 09:52:41 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @pat-s on GitHub (Nov 3, 2023).

Description

When executing the user/repos endpoint authenticated with an access token, some repos which the user has access to are not returned.

E.g. in an org with two repos, only one repo is returned whereas the other one has the exactly same permissions. The user is in the "Owners" team of the org and can push to the repo directly.

Can't replicate on try.gitea.io as I get a 500 after logging in.

Is there any way around debugging this by inspecting the DB tables?

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

helm-chart

Database

PostgreSQL

Originally created by @pat-s on GitHub (Nov 3, 2023). ### Description When executing the `user/repos` endpoint authenticated with an access token, some repos which the user has access to are not returned. E.g. in an org with two repos, only one repo is returned whereas the other one has the exactly same permissions. The user is in the "Owners" team of the org and can push to the repo directly. Can't replicate on try.gitea.io as I get a 500 after logging in. Is there any way around debugging this by inspecting the DB tables? ### Gitea Version 1.20.5 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? helm-chart ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 09:52:41 -06:00
Author
Owner

@pat-s commented on GitHub (Nov 6, 2023):

Pagination 🙄 combined with an actual bug in Woodpecker. All good here!

@pat-s commented on GitHub (Nov 6, 2023): Pagination 🙄 combined with an actual bug in Woodpecker. All good here!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11949