Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Objects to PUBLIC / READ when uploaded #59

Open
franTarkenton opened this issue Apr 26, 2023 · 2 comments
Open

Set Objects to PUBLIC / READ when uploaded #59

franTarkenton opened this issue Apr 26, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@franTarkenton
Copy link
Member

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 franTarkenton added the enhancement New feature or request label Apr 26, 2023
@franTarkenton franTarkenton self-assigned this Apr 27, 2023
@franTarkenton
Copy link
Member Author

working on the second part of this ticket:

  • retroactive fix to old permissions in ostore so the frontend can display that data.

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
Copy link
Member Author

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

@franTarkenton franTarkenton moved this to Done in RFC Backlog Dec 5, 2023
@franTarkenton franTarkenton added the zen_reorg temp label to help with migration to ghp label Dec 5, 2023
@franTarkenton franTarkenton moved this from Done to Review / QA in RFC Backlog Dec 5, 2023
@franTarkenton franTarkenton removed the zen_reorg temp label to help with migration to ghp label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Review / QA
Development

No branches or pull requests

1 participant