bcgov / nr-rfc-processing

River forecast centre data processing solution
Apache License 2.0
4 stars 2 forks source link

Set Objects to PUBLIC / READ when uploaded #59

Open franTarkenton opened 1 year ago

franTarkenton commented 1 year ago

When uploading objects to object storage, set them to public/read permissions.

This ticket will also require creation of a script that will set all the various objects to public read also.

required in order to properly deploy the frontend as if the objects are not set to public read they will not show up in the view

franTarkenton commented 1 year ago

working on the second part of this ticket:

Moved much of the logic into the more generic library (nr-objectstore-util), here: https://github.com/bcgov/nr-objectstore-util/releases/tag/0.10.0

Next step is to revise the s3 copy action and related code to use the nr-object-store pypi module with the new functionality: https://pypi.org/project/nr-objstore-util/

franTarkenton commented 1 year ago

Created one off script and ran against the plots directory to ensure all the snowpack images are public/read permissions