hcb icon indicating copy to clipboard operation
hcb copied to clipboard

[ActiveStorage] Disallow S3 access unless in production

Open garyhtou opened this issue 1 year ago • 0 comments

Previously, when running HCB in Rails development but using production credentials, there was a possibility of interacting with production's S3 bucket (e.g. deleting images).

Rails recommends using Rails.env in the bucket name, however, it's too late for us to do that.

still needs to be tested

garyhtou avatar Nov 10 '24 05:11 garyhtou