projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid http client race in test case.
[arvados.git]
/
services
/
ws
/
permission.go
diff --git
a/services/ws/permission.go
b/services/ws/permission.go
index b40c1fa1863219048a2ba70f8b2afb1ffc394391..a39a959312aed582957d8845dddfc70394b649a4 100644
(file)
--- a/
services/ws/permission.go
+++ b/
services/ws/permission.go
@@
-74,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