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

feat: bucket controller #33

Draft
wants to merge 18 commits into
base: 2-dev
Choose a base branch
from
Draft

Conversation

Juiced66
Copy link
Contributor

@Juiced66 Juiced66 commented Nov 13, 2024

First things first : Thank you @matgardon for the contribution

PR content :

  • adds bucket controller to the plugin + documentation
    • createBucket
    • deleteBucket
    • bucketExists
  • Optionnal arguments have been added to file controller to target a specific bucket
  • Support for Signed Urls

Mathis Gardon and others added 18 commits August 7, 2024 16:32
…PublicAccess)

- also enable default CORS rules on bucket creation
- support API param dynamic change of bucket name
- fix fileGetUrl support expire time and bucket region
upgrade to uuid v9 was not taken into account in code use
stack trace is insufficient in plugin calling point to identify which step is causing a crash when creating a bucket
…ucket request params

- this is not handled at the moment because we need to disable block public request before setting a bucket policy that makes access public.
- it is then currently advided to first create the bucket, then disable blockPublicAccess, then put bucket policies in order to make sure bucket permissions are set in the right order.
- it could be a feature to support proper/automatic disable of block public access based on bucket policies ? see roadmap for this plugin
@Juiced66
Copy link
Contributor Author

Juiced66 commented Nov 14, 2024

It is necessary to handle bucketRegion for every single api endpoint as it could lead to not being able to use correctly a bucket in a region other than config one
I'll move this to draft and do 2 commits (feat and according doc)

@Juiced66 Juiced66 marked this pull request as draft November 14, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants