1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-22 17:34:03 +03:00
gitea/routers
John Olheiser 5e36024105
Require repo scope for PATs for private repos and basic authentication (#24362)
> The scoped token PR just checked all API routes but in fact, some web
routes like `LFS`, git `HTTP`, container, and attachments supports basic
auth. This PR added scoped token check for them.

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-04-26 19:24:03 -05:00
..
api Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
common Update go tool dependencies, restructure lint targets (#24239) 2023-04-22 14:53:00 -04:00
install Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
private Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
init.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00