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.
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 namepublic-sgu
doesn't exist in my storage, which is a defaults3_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.