Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Should fail gracefully when unable to fetch ACL/owner info #106

Description

@ryan-williams

S3Utils. getS3ObjectSummary makes a second RPC to get the ACL, but I'm seeing this fail on a publicly-viewable object I'm trying to work with, because its ACL isn't public.

The documentation of S3ObjectSummary.owner says:

/**
 * The owner of this object - can be null if the requester doesn't have
 * permission to view object ownership information
 */

S3Utils. getS3ObjectSummary should probably wrap that second RPC in a try/catch to leave owner as null in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions