def print_bucket_acl_for_user(bucket_name, user_email):
 storage_client = storage.Client()
 bucket = storage_client.bucket(bucket_name)
 bucket.acl.reload()
 roles = bucket.acl.user(user_email).get_roles()
 print roles

def print_bucket_acl_for_user ( bucket_name , user_email ) : storage_client = storage . Client ( ) bucket = storage_client . bucket ( bucket_name ) bucket . acl . reload ( ) roles = bucket . acl . user ( user_email ) . get_roles ( ) print roles
prints out a buckets access control list for a given user .