From cdb0964f32285a027e22ab934b75c9424b274361 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Thu, 10 Oct 2019 13:35:41 -0700 Subject: [PATCH] [Storage] Remove uniformBucketLevelAccess workaround --- storage/src/disable_uniform_bucket_level_access.php | 4 ---- storage/src/enable_uniform_bucket_level_access.php | 4 ---- 2 files changed, 8 deletions(-) diff --git a/storage/src/disable_uniform_bucket_level_access.php b/storage/src/disable_uniform_bucket_level_access.php index 445aa8cf5e..9de7f72bbb 100644 --- a/storage/src/disable_uniform_bucket_level_access.php +++ b/storage/src/disable_uniform_bucket_level_access.php @@ -42,10 +42,6 @@ function disable_uniform_bucket_level_access($bucketName) 'uniformBucketLevelAccess' => [ 'enabled' => false ], - // This is a workaround - 'bucketPolicyOnly' => [ - 'enabled' => false - ], ] ]); printf('Uniform bucket-level access was disabled for %s' . PHP_EOL, $bucketName); diff --git a/storage/src/enable_uniform_bucket_level_access.php b/storage/src/enable_uniform_bucket_level_access.php index ffe5c020a8..68df152fe3 100644 --- a/storage/src/enable_uniform_bucket_level_access.php +++ b/storage/src/enable_uniform_bucket_level_access.php @@ -42,10 +42,6 @@ function enable_uniform_bucket_level_access($bucketName) 'uniformBucketLevelAccess' => [ 'enabled' => true ], - // This is a workaround - 'bucketPolicyOnly' => [ - 'enabled' => true - ] ] ]); printf('Uniform bucket-level access was enabled for %s' . PHP_EOL, $bucketName);