Skip to content

Disabling stars does not affect API calls #33205

Closed
@HeCorr

Description

@HeCorr

Description

If you disable the stars functionality with DISABLE_STARS, API calls to /repos/{owner}/{repo}/stargazers still work, as well as the other star-related endpoints.

[repository]
DISABLE_STARS = true
GET http://localhost:8080/gitea/api/v1/repos/HeCorr/test/stargazers

[
  {
    "id": 1,
    "login": "HeCorr",
    ...
  }
]

Gitea Version

39cc725

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.47.1

Operating System

Linux

How are you running Gitea?

Built from source with docker build --build-arg TAGS="bindata sqlite sqlite_unlock_notify" -t gitea . and running it within Docker.

Database

SQLite

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions