S3: Signature verification should not check permissions (#7335)

* Signature verification should not check permissions - that's done later in authRequest

* test permissions during signature verfication

* fix s3 test path

* s3tests_boto3 => s3tests

* remove extra lines
This commit is contained in:
Chris Lu
2025-10-15 11:27:39 -07:00
committed by GitHub
parent ffc45a538d
commit 3d25f206c8
5 changed files with 420 additions and 386 deletions

View File

@@ -268,7 +268,7 @@ get_new_bucket = _sw_get_new_bucket
def main() -> int:
s3_tests_path = os.environ.get("S3_TESTS_PATH", "s3-tests")
init_file_path = os.path.join(s3_tests_path, "s3tests_boto3", "functional", "__init__.py")
init_file_path = os.path.join(s3_tests_path, "s3tests", "functional", "__init__.py")
print("Applying s3-tests patch for bucket creation idempotency...")
print(f"Target repo path: {s3_tests_path}")
if not os.path.exists(s3_tests_path):