aboutsummaryrefslogtreecommitdiff
path: root/acl.go
diff options
context:
space:
mode:
Diffstat (limited to 'acl.go')
-rw-r--r--acl.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/acl.go b/acl.go
index 99cd5fb..22c8a4c 100644
--- a/acl.go
+++ b/acl.go
@@ -4,6 +4,8 @@ import (
"context"
)
+// get_path_perm_by_group_repo_key returns the filesystem path and direct
+// access permission for a given repo and a provided ssh public key.
func get_path_perm_by_group_repo_key(ctx context.Context, group_name, repo_name, ssh_pubkey string) (filesystem_path string, access bool, err error) {
err = database.QueryRow(ctx,
`SELECT