SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
clean up
Chris Lu6658a655f682
diff --git a/weed/s3api/s3tables/handler_bucket_create.go b/weed/s3api/s3tables/handler_bucket_create.goindex b71622b3be..6b3f941d2a 100644--- a/weed/s3api/s3tables/handler_bucket_create.go+++ b/weed/s3api/s3tables/handler_bucket_create.go@@ -14,9 +14,8 @@ import (// handleCreateTableBucket creates a new table bucketfunc (h *S3TablesHandler) handleCreateTableBucket(w http.ResponseWriter, r *http.Request, filerClient FilerClient) error {// Check permission- accountID := h.getAccountID(r)principal := h.getAccountID(r)- if !CanCreateTableBucket(principal, accountID, "") {+ if !CanCreateTableBucket(principal, principal, "") {h.writeError(w, http.StatusForbidden, ErrCodeAccessDenied, "not authorized to create table buckets")return NewAuthError("CreateTableBucket", principal, "not authorized to create table buckets")}