jswope00 / s3-uploader-downloader

An uploader and downloader for Open EdX that works with AWS S3 storage.
6 stars 8 forks source link

add s3 bucket name in xblock edit settings #4

Closed tasawernawaz closed 3 years ago

tasawernawaz commented 3 years ago

Fixes #5

As a learner when I tried to upload a file I got a 403 error. Upon investigation, I came to know that the default bucket name public-sgu doesn't exist in my storage, which is a default s3_bucket name added in the code. However, I couldn't find a way to configure this name via settings from the studio as I can edit other settings.

The default bucket name will be picked from settings instead of a hardcoded name. This PR is intended to add s3_bucket in settings in studio view so the instructor can provide his/her own preferred bucket name.