storj/satellite/metainfo
Kaloyan Raev e709112eeb satellite/metainfo: allow list permission for GetObject and GetObjectIPs
GetObject and GetObjectIPs are invoked by the Linksharing service to
display the shared object and its map. These two endpoint currently
require read permission.

There is a use case where an object can be shared with an access grant
that has only list permission. In such a case, the expectation is that
the linksharing service would still display the metadata of the shared
object (name, size, map), but the content would be still inaccessible.
See https://github.com/storj/gateway-mt/issues/209 for details.

This change allows GetObject and GetObjectIPs to require either read or
list permission to support the described use case.

Change-Id: I3477edc7bf8990e9848482890da047094c875d09
2022-11-07 10:59:43 +00:00
..
expireddeletion satellite/gc/sender: new service to send retain filters 2022-09-20 11:49:40 +00:00
piecedeletion satellite/metainfo/piecedeletion: configurable threshold 2022-10-20 16:58:05 +02:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
attribution.go satellite/metainfo: Use project-level attribution at bucket level 2022-06-07 17:08:50 +00:00
batch_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
batch.go satellite/metainfo: endpoint cleanup 2021-08-26 09:52:38 +00:00
config_test.go Merge 'master' branch 2020-11-10 11:58:59 +00:00
config.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
endpoint_bucket_test.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_bucket.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_object_test.go satellite/metainfo/piecedeletion: configurable threshold 2022-10-20 16:58:05 +02:00
endpoint_object.go satellite/metainfo: allow list permission for GetObject and GetObjectIPs 2022-11-07 10:59:43 +00:00
endpoint_segment_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint_segment.go satellite/metainfo: align satellite StreamID protobuf version with metabase 2022-08-24 10:17:34 +00:00
endpoint_test.go satellite/metainfo: add missing metadata validation 2022-08-23 16:56:45 +02:00
endpoint.go satellite: use evenkit instead of evenstat/top endpoint 2022-10-24 11:45:12 +02:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite: use evenkit instead of evenstat/top endpoint 2022-10-24 11:45:12 +02:00
validation.go satellite/metainfo: allow list permission for GetObject and GetObjectIPs 2022-11-07 10:59:43 +00:00
version_collector_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
version_collector.go satellite/metainfo: add IPFS datastore user agent to metrics 2022-05-17 13:09:22 +02:00