Allow all permission on subquery records
This commit is contained in:
parent
c3a685553d
commit
7d95f5dc5c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue