-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
[AIRFLOW-4175] S3Hook load_file should support ACL policy parameter #7726
Conversation
- Added acl_policy parameter to all the S3Hook.load_*() and S3Hook.copy_object() functions - Added unittest to test the response permissions when the policy is passed - Updated the docstring of the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good. But one thing - can you also extend the tests to verify that the default "private" acl has also the right permissions ?
You are talking about the copy_object() hook ? |
I am sorry, but this is a duplicate. #7635 already adds ACL Header. |
I think we can combine the two.. There are more tests in this one - so I think we should use it :). @retornam - how about you review this one instead of merging yours :)? Let's join forces. |
@OmairK -> I think you will have to rebase and push the branch again so that we can re-open it. |
And BTW - both @OmairK and @retornam can be co-authors of the change https://help.github.com/en/github/committing-changes-to-your-project/creating-a-commit-with-multiple-authors - we've done that multiple times and this is true open-source spirit ... - so why don't you add @retornam co-author line to the change :)? |
Somehow I can't re-open it :(. Likely you need to reopen it yourself @OmairK or create a new one with new branch name |
@OmairK I can close mine, when you submit a new PR. |
Sure I will do that right now.
Thanks @retornam 😄 |
Right @feluelle ! |
Issue link: AIRFLOW-4175
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]
. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX]
.In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.