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);