kaxil commented on issue #5939: [AIRFLOW-5335] Update GCSHook methods so they 
need min IAM perms
URL: https://github.com/apache/airflow/pull/5939#issuecomment-525840118
 
 
   Agree with @mik-laj .
   
   Although my reason for this change is not entirely the same but 
closely-related.
   
   When using `get_bucket` it needs `storage.buckets.list` 
   While creating the `Bucket` object using `bucket` and then, for example, 
running `get_blob`  just needs `storage.objects.*` level permissions and won't 
need permission across all buckets.
   
   This has advantages when using multiple buckets and you have IAM on a bucket 
level.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to