You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
default_branch.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
hook_post_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
hook_pre_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
hook_proc_receive.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
hook_verification.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
internal.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
internal_repo.go Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
key.go Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
mail.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
manager.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
manager_unix.go Add bundle download for repository (#14538) 3 years ago
manager_windows.go Add bundle download for repository (#14538) 3 years ago
restore_repo.go refactor: move from io/ioutil to io and os package (#17109) 3 years ago
serv.go Ensure correct SSH permissions check for private and restricted users (#17370) 3 years ago
ssh_log.go add a new internal hook to save ssh log (#15787) 3 years ago