Skip to content

Commit b971205

Browse files
committed
Added some debug logging
1 parent 7d6b0e4 commit b971205

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/passwordauthenticator.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ func (ma passwordAuthenticator) GetPermissions(authorization string) auth.Permis
6464

6565
// The default permissions from config
6666
if s.AllowReadByDefault {
67+
if DEBUG {
68+
log.Printf("Adding default read permission")
69+
}
6770
if _, ok := d["*"]; !ok {
6871
d["*"] = &auth.Permission{true, false}
6972
}

0 commit comments

Comments
 (0)