0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 07:51:58 +01:00
gitea/modules/context
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
..
access_log.go Correct the access log format (#24085) 2023-04-13 21:14:06 +08:00
api_org.go
api_test.go
api.go Fix wrong error info in RepoRefForAPI (#24344) 2023-04-26 04:14:35 -04:00
captcha.go
context.go Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING (#24270) 2023-04-22 19:38:25 -04:00
csrf.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
form.go
org.go
package.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
pagination.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
permission.go Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
private.go
repo.go Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING (#24270) 2023-04-22 19:38:25 -04:00
response.go
utils.go
xsrf_test.go
xsrf.go