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
fix: When there is no access permission configured before startup, the authentication does not take effect after configuring the permission after startup
shichanglin5f01dd27752c5
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.goindex 757e3ddd90..fb23d9ce96 100644--- a/weed/s3api/auth_credentials.go+++ b/weed/s3api/auth_credentials.go@@ -176,12 +176,12 @@ func (iam *IdentityAccessManagement) lookupAnonymous() (identity *Identity, foun}func (iam *IdentityAccessManagement) Auth(f http.HandlerFunc, action Action) http.HandlerFunc {-- if !iam.isEnabled() {- return f- }-return func(w http.ResponseWriter, r *http.Request) {+ if !iam.isEnabled() {+ f(w, r)+ return+ }+identity, errCode := iam.authRequest(r, action)if errCode == s3err.ErrNone {if identity != nil && identity.Name != "" {