diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-16 01:48:39 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-16 01:52:47 +0800 |
commit | d212c4606a6eb470067d5302b2350d288d4d9c88 (patch) | |
tree | 8eac51da018f6bfbfbae1356968ff8908b887ab6 /ssh_handle_upload_pack.go | |
parent | schema.sql: Fix public keys and add basic group ACL (diff) | |
download | forge-d212c4606a6eb470067d5302b2350d288d4d9c88.tar.gz forge-d212c4606a6eb470067d5302b2350d288d4d9c88.tar.zst forge-d212c4606a6eb470067d5302b2350d288d4d9c88.zip |
{ssh_*,acl}.go: Check ACL when receiving packs
Diffstat (limited to 'ssh_handle_upload_pack.go')
-rw-r--r-- | ssh_handle_upload_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |