aboutsummaryrefslogtreecommitdiff
path: root/acl.go
diff options
context:
space:
mode:
Diffstat (limited to 'acl.go')
-rw-r--r--acl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/acl.go b/acl.go
index 5f242d5..44cd04b 100644
--- a/acl.go
+++ b/acl.go
@@ -13,7 +13,7 @@ import (
// given repo and a provided ssh public key.
//
// TODO: Revamp.
-func getRepoInfo(ctx context.Context, groupPath []string, repoName, sshPubkey string) (repoID int, fsPath string, access bool, contribReq, userType string, userID int, err error) {
+func (s *server) getRepoInfo(ctx context.Context, groupPath []string, repoName, sshPubkey string) (repoID int, fsPath string, access bool, contribReq, userType string, userID int, err error) {
err = database.QueryRow(ctx, `
WITH RECURSIVE group_path_cte AS (
-- Start: match the first name in the path where parent_group IS NULL