Skip to content

Commit

Permalink
Removed S3 ACL to adhere to defult role permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivekanandan Sakthivelu (TMS) committed Sep 23, 2020
1 parent 8cce256 commit 9ce81da
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 24 deletions.
1 change: 0 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = {
{
Key: `${path}${file.hash}${file.ext}`,
Body: Buffer.from(file.buffer, 'binary'),
ACL: 'public-read',
ContentType: file.mime,
...customParams,
},
Expand Down
45 changes: 22 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
{
"name": "strapi-provider-upload-aws-s3-cdn",
"version": "0.0.1",
"description": "AWS S3 provider for strapi upload with cdn (cloudfront)",
"directories": {
"lib": "./lib"
},
"main": "./lib",
"dependencies": {
"aws-sdk": "^2.758.0",
"lodash": "^4.17.20"
},
"strapi": {
"isProvider": true
},
"engines": {
"node": ">=10.10.0",
"npm": ">=6.0.0"
},
"license": "MIT",
"scripts": {
"test": "echo \"no tests yet\""
}
}
"name": "strapi-provider-upload-aws-s3-cdn",
"version": "1.0.3",
"description": "",
"main": "lib/index.js",
"directories": {
"lib": "lib"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VivekanandanS/strapi-provider-upload-aws-s3-cdn.git"
},
"author": "vivekanandansakthivelu",
"license": "MIT",
"bugs": {
"url": "https://github.com/VivekanandanS/strapi-provider-upload-aws-s3-cdn/issues"
},
"homepage": "https://github.com/VivekanandanS/strapi-provider-upload-aws-s3-cdn#readme"

}

0 comments on commit 9ce81da

Please sign in to comment.