Skip to content

Stars tab in user page exposes number of starred private repos #11949

Closed
@archer-321

Description

@archer-321
  • Gitea version (or commit ref): 1.11.6
  • Git version: 2.27.0
  • Operating system: GNU/Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist: I can't get a log gist as I don't have access to the server's logs.

Description

Steps to reproduce

  • Create a private repository
  • Star this repository
  • Log out or open a private tab
  • Open the user's profile page with the stars tab (e.g. https://gitea.tld/user?tab=stars)

If a user stars a private repository, it still shows up as a little one in the starred page overview.
This doesn't expose too much private information, but it's confusing to see that one project is starred whilst seeing an empty list in the overview.

Screenshots

Screenshot from 2020-06-18 14-26-55

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions