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.
Suggested Feature / Enhancement
Allow expiration on block storage URLs to be configurable in settings.py. For example,
onadata/onadata/libs/utils/logger_tools.py
Line 723 in 7aa474a
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.