projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15851: Merge branch 'master' into 15851-empty-items-array
[arvados.git]
/
services
/
ws
/
permission.go
diff --git
a/services/ws/permission.go
b/services/ws/permission.go
index 8bfcfcb9e69cf1699b2f335e766dd71c636b733c..a39a959312aed582957d8845dddfc70394b649a4 100644
(file)
--- a/
services/ws/permission.go
+++ b/
services/ws/permission.go
@@
-1,3
+1,7
@@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
package main
import (
package main
import (
@@
-70,7
+74,8
@@
func (pc *cachingPermChecker) Check(uuid string) (bool, error) {
pc.nMisses++
err = pc.RequestAndDecode(&buf, "GET", path, nil, url.Values{
pc.nMisses++
err = pc.RequestAndDecode(&buf, "GET", path, nil, url.Values{
- "select": {`["uuid"]`},
+ "include_trash": {"true"},
+ "select": {`["uuid"]`},
})
var allowed bool
})
var allowed bool