Allow all permission on subquery records

This commit is contained in:
Tobie Morgan Hitchcock 2020-03-27 11:49:55 +00:00
parent c3a685553d
commit 7d95f5dc5c

View file

@ -58,7 +58,7 @@ func (d *document) grant(ctx context.Context, met method) (ok bool, err error) {
// no need to check permissions. // no need to check permissions.
if d.key == nil { if d.key == nil {
return false, nil return true, nil
} }
// If we are authenticated using DB, NS, // If we are authenticated using DB, NS,