Skip to content

Configurable storage expiration time. #2931

@ukanga

Description

@ukanga

Suggested Feature / Enhancement

Allow expiration on block storage URLs to be configurable in settings.py. For example,

file_path: str, content_disposition=None, content_type=None, expiration: int = 3600
is defaulted at 1 hour and a client may want to extend or reduce this time.

Benefits of implementing the feature/enhancement

More control in the lifetime of a media file link.

Suggested implementation plan(Steps to be taken to implement feature)

Ensure all areas that would generate a block storage file url adhere to the configured settings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions