-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect owner id in list object versions output #953
Comments
IIRC the key was used intentionally here. |
$ aws --no-paginate s3api get-object-acl --bucket heh1717474686 --key file-1717474690.txt --endpoint http://localhost:19080 {
"Owner": {
"DisplayName": "NiskPF9pfRMzg7V7PeB4d6ogLzu74a1L2Q",
"ID": "03a0c9429ca04596dbef6eca53f0ed60e10a9d43a9efcedcf627cf4305dcef8b9a"
},
"Grants": [
{
"Grantee": {
"DisplayName": "NiskPF9pfRMzg7V7PeB4d6ogLzu74a1L2Q",
"ID": "03a0c9429ca04596dbef6eca53f0ed60e10a9d43a9efcedcf627cf4305dcef8b9a",
"Type": "CanonicalUser"
},
"Permission": "FULL_CONTROL"
},
{
"Grantee": {
"Type": "Group",
"URI": "http://acs.amazonaws.com/groups/global/AllUsers"
},
"Permission": "READ"
}
]
} The right and only valid definition of owner is "Owner": {
"DisplayName": "NiskPF9pfRMzg7V7PeB4d6ogLzu74a1L2Q",
"ID": "03a0c9429ca04596dbef6eca53f0ed60e10a9d43a9efcedcf627cf4305dcef8b9a"
}, Where DisplayName is the address of the owner from its wallet. ID is a pub key Any variants as
are not valid. I'm fixing the places when see them in the code. But it requires time.
What test leads to this situation? @evgeniiz321
|
Refs. nspcc-dev/neofs-api#278 |
Double checked. The test |
Merged, could be rechecked. @evgeniiz321 |
Create objects
Get objects ACL:
Notice that Owner ID is equal to NPvy7w9qrB2qyS2wVMxwKiNWRfykgFCCmp.
Now issue list_object_versions:
Owner ID is equal to something else. But should be NPvy7w9qrB2qyS2wVMxwKiNWRfykgFCCmp as in the object ACL output.
test_bucket_list_return_data_versioning
The text was updated successfully, but these errors were encountered: