Skip to content

Commit

Permalink
Allow to specify "bucket-owner-read" for the storage ACL
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Aug 12, 2024
1 parent 23b6f1d commit 68aeba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "screenshotone-validations",
"homepage": "https://screenshotone.com",
"version": "1.0.39",
"version": "1.0.40",
"description": "Validation schemes for the ScreenshotOne API requests.",
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ const commonOptionsScheme = Joi.object({
storage_endpoint: Joi.string().uri().optional(),
storage_access_key_id: Joi.string().optional(),
storage_secret_access_key: Joi.string().optional(),
storage_acl: Joi.string().valid("public-read", "").default(""),
// "bucket-owner-read" is for AWS S3 only
storage_acl: Joi.string().valid("public-read", "", "bucket-owner-read").default(""),
storage_class: Joi.string()
.valid(
"standard",
Expand Down

0 comments on commit 68aeba6

Please sign in to comment.