Skip to content

Organization repository count includes private repositories #27926

Closed
@jrjake

Description

@jrjake

Description

If I mark a repository as private in an organization, that repository is still shown in the count for users who can't access it. See example below.

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

It states there is 1 repository (the private one) but has 0 in the list.

Git Version

2.39.2

Operating System

Debian 12

How are you running Gitea?

Docker

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions