mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-22 02:53:56 +09:00
Partial backport of https://github.com/go-gitea/gitea/pull/39690 with only its public-only token checks, without the refactor. 1. Admin, org owner and repo or org creation APIs reject public-only tokens. 1. Profile and org pages hide private repos and limited owners from public-only tokens. 1. Heatmap API, OIDC userinfo and OCI blob mounts respect public-only tokens. Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: bircni <bircni@icloud.com>