Browse Source

Update s3api_bucket_handlers.go

pull/7519/head
chrislu 2 weeks ago
parent
commit
5890109812
  1. 2
      weed/s3api/s3api_bucket_handlers.go

2
weed/s3api/s3api_bucket_handlers.go

@ -113,7 +113,7 @@ func (s3a *S3ApiServer) ListBucketsHandler(w http.ResponseWriter, r *http.Reques
// based on ownership rules. Returns true if the bucket should be visible, false otherwise. // based on ownership rules. Returns true if the bucket should be visible, false otherwise.
// //
// Visibility rules: // Visibility rules:
// - Unauthenticated requests (identity == nil): all buckets visible
// - Unauthenticated requests (identity == nil): no buckets visible
// - Admin users: all buckets visible // - Admin users: all buckets visible
// - Non-admin users: only buckets they own (matching identity.Name) are visible // - Non-admin users: only buckets they own (matching identity.Name) are visible
// - Buckets without owner metadata are hidden from non-admin users // - Buckets without owner metadata are hidden from non-admin users

Loading…
Cancel
Save