Skip to content

Request to build attachments' link with unified format #6961

Open

Description

Your current Halo version

2.20.7

Describe this feature

Currently, if we upload a file into S3 bucket with private read permission, the object cannot be accessed directly. We have to build a presigned URL to share the object, but the URL has expiration. So we cannot put the presigned URL into attachment permalink.

If we set the attachment permalink like <http://localhost:8090/attachments/{attachment.metadata.name}/{attachment.spec.displayName} and redirect to presigned URL when accessing the permalink, the problem will be resolved.

References

Additional information

/kind feature
/area core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues or PRs related to the Halo Corekind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions