feat: replace access/role context locals with full account info

This commit is contained in:
Ben McClelland
2023-09-29 17:00:28 -07:00
parent 9cb357ecc5
commit 4661af11dd
10 changed files with 84 additions and 90 deletions

View File

@@ -148,6 +148,8 @@ func (p *Posix) ListBuckets(_ context.Context, owner string, isAdmin bool) (s3re
sort.Sort(backend.ByBucketName(buckets))
fmt.Println("ListAllMyBucketsResult owner:", owner)
return s3response.ListAllMyBucketsResult{
Buckets: s3response.ListAllMyBucketsList{
Bucket: buckets,