forgejo/routers/web/repo/setting
Gusted f359ebeea5
fix(sec): web route delete runner
The web route to delete action runners did not check if the ID that was
given belonged to the context it was requested in, this made it possible
to delete every existing runner of a instance by a authenticated user.

The code was reworked to ensure that the caller of the delete
runner function retrieved the runner by ID and then checks if it belongs
to the context it was requested in, although this is not an optimal
solution it is consistent with the context checking of other code for
runners.
2025-02-08 07:21:14 +00:00
..
avatar.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
collaboration.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
default_branch.go [ACTIONS] port scheduled actions from Gitea 2024-03-26 16:51:56 +01:00
deploy_key.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
git_hooks.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
lfs.go Show lock owner instead of repo owner on LFS setting page (#31788) 2024-08-18 05:47:06 +02:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
protected_branch.go [PORT] gitea#30430: Fix rename branch 500 when the target branch is deleted but exist in database 2024-04-15 16:03:09 +02:00
protected_tag.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
runners.go fix(sec): web route delete runner 2025-02-08 07:21:14 +00:00
secrets.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
setting.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
settings_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
variables.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
webhook.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00