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

Public read acl results in full control permission #866

Merged

Conversation

smallhive
Copy link
Contributor

closes #857

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #866 (c8e6155) into master (ba32126) will increase coverage by 0.59%.
Report is 2 commits behind head on master.
The diff coverage is 70.00%.

❗ Current head c8e6155 differs from pull request most recent head 327d7e0. Consider uploading reports for the commit 327d7e0 to get more accurate results

@@            Coverage Diff             @@
##           master     #866      +/-   ##
==========================================
+ Coverage   33.80%   34.39%   +0.59%     
==========================================
  Files          62       62              
  Lines       10547    10564      +17     
==========================================
+ Hits         3565     3634      +69     
+ Misses       6578     6524      -54     
- Partials      404      406       +2     
Files Coverage Δ
api/handler/acl.go 69.80% <70.00%> (+5.12%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@smallhive smallhive force-pushed the 857-public-read-acl-results-in-full_control-permission branch from 1a86673 to c8e6155 Compare October 19, 2023 10:54
It used only logger, so just passed it as a parameter. Added some tests.

Signed-off-by: Evgenii Baidakov <[email protected]>
These changes allow to omit empty fields in response. AWS specification is floating, but in example https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAcl.html it doesn't return fields with empty values.

Signed-off-by: Evgenii Baidakov <[email protected]>
@smallhive smallhive force-pushed the 857-public-read-acl-results-in-full_control-permission branch from c8e6155 to 327d7e0 Compare October 19, 2023 12:33
@smallhive smallhive marked this pull request as ready for review October 19, 2023 12:38
@roman-khimov roman-khimov merged commit 7db71ed into master Oct 19, 2023
14 checks passed
@roman-khimov roman-khimov deleted the 857-public-read-acl-results-in-full_control-permission branch October 19, 2023 14:18
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.

"public-read" ACL results in FULL_CONTROL permission
2 participants