0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-03 04:09:36 -05:00
forgejo/services
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
..
actions Handle canceled workflow as a warning instead of a fail (#24282) 2023-04-23 14:41:55 -04:00
agit
asymkey
attachment
auth Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
automerge
context
convert Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
cron
externalaccount
forms Title can be empty when creating tag only (#23917) 2023-04-06 21:44:52 -04:00
gitdiff Update go tool dependencies, restructure lint targets (#24239) 2023-04-22 14:53:00 -04:00
issue Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
lfs Require repo scope for PATs for private repos and basic authentication (#24362) 2023-04-26 19:24:03 -05:00
mailer
markup
migrations Improve test logger (#24235) 2023-04-21 16:32:25 -04:00
mirror
org
packages
pull Make more functions use ctx instead of db.DefaultContext (#24068) 2023-04-14 14:18:28 -04:00
release Delete deleted release attachments immediately from storage (#23913) 2023-04-06 18:01:36 -04:00
repository Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
task
user
webhook
wiki Fix bug when deleting wiki with no code write permission (#24274) 2023-04-23 17:22:16 -04:00