noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

[MCG] Store relevant Owner metadata for MCG objects

Open vh05 opened this issue 2 months ago • 0 comments

Goal

Allow customers to keep track of object owner of an object via the S3 API

Problem

Currently when using boto3.client.list_objects, the metadata in the response under the "Owner" property is always set to

{'DisplayName': 'NooBaa', 'ID': '123'}

regardless of the name of the account that created the bucket.

Why is this important?

Currently when using boto3.client.list_objects, the metadata in the response under the "Owner" property is always set to

{'DisplayName': 'NooBaa', 'ID': '123'}

regardless of the name of the account that created the bucket.

Prioritized Scenarios

In Scope

Assign obc name or access key as the owner

Documentation Requirements

Yes. document the approach we take

Customers

No

Customer Facing Story

As an administrator, I should be able to check which account uploaded a given object to an MCG bucket.

Gap:

Since ACLs are not suported, we are assigning obc owner as the owner of the object

Fixes: https://issues.redhat.com/browse/RHSTOR-5501

vh05 avatar May 21 '24 08:05 vh05