forgejo/routers/private
zeripath c1110b8671
Ensure correct SSH permissions check for private and restricted users (#17370)
Repositories owned by private users and organisations and pulls by restricted users
need to have permissions checked. Previously Serv would simply assumed that if the
user could log in and the repository was not private then it would be visible.

Fix #17364

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-10-20 16:59:05 -04:00
..
default_branch.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
hook_post_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
hook_pre_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
hook_proc_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
hook_verification.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
internal.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
internal_repo.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 2021-09-16 15:34:54 +02:00
key.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 2021-08-11 02:31:13 +02:00
mail.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
manager.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
manager_unix.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
manager_windows.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
restore_repo.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
serv.go Ensure correct SSH permissions check for private and restricted users (#17370) 2021-10-20 16:59:05 -04:00
ssh_log.go add a new internal hook to save ssh log (#15787) 2021-05-21 17:37:16 -04:00