From 7d95f5dc5c4b4fabfb99dd29888ca428b090ea83 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 27 Mar 2020 11:49:55 +0000 Subject: [PATCH] Allow all permission on subquery records --- db/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/check.go b/db/check.go index 0ad65fca..10207279 100644 --- a/db/check.go +++ b/db/check.go @@ -58,7 +58,7 @@ func (d *document) grant(ctx context.Context, met method) (ok bool, err error) { // no need to check permissions. if d.key == nil { - return false, nil + return true, nil } // If we are authenticated using DB, NS,