X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2ab1b540a710fd454f33e9ba22db601e67f3d217..59a972c831bc8f7cd4e896ed8e1c71277b97f04e:/services/ws/permission.go diff --git a/services/ws/permission.go b/services/ws/permission.go index 8bfcfcb9e6..745d28f952 100644 --- 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 ( @@ -5,7 +9,7 @@ import ( "net/url" "time" - "git.curoverse.com/arvados.git/sdk/go/arvados" + "git.arvados.org/arvados.git/sdk/go/arvados" ) const ( @@ -70,7 +74,8 @@ func (pc *cachingPermChecker) Check(uuid string) (bool, error) { pc.nMisses++ err = pc.RequestAndDecode(&buf, "GET", path, nil, url.Values{ - "select": {`["uuid"]`}, + "include_trash": {"true"}, + "select": {`["uuid"]`}, }) var allowed bool