From d212c4606a6eb470067d5302b2350d288d4d9c88 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Feb 2025 01:48:39 +0800 Subject: {ssh_*,acl}.go: Check ACL when receiving packs --- ssh_handle_upload_pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh_handle_upload_pack.go') diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go index 7812f1a..8281cbd 100644 --- a/ssh_handle_upload_pack.go +++ b/ssh_handle_upload_pack.go @@ -9,7 +9,7 @@ import ( ) func ssh_handle_upload_pack(session glider_ssh.Session, pubkey string, repo_identifier string) (err error) { - repo_path, err := get_repo_path_from_ssh_path(session.Context(), repo_identifier) + repo_path, _, err := get_repo_path_perms_from_ssh_path_pubkey(session.Context(), repo_identifier, pubkey) if err != nil { return err } -- cgit v1.2.3