Friday, 2024-08-09

opendevreviewMatthew Oliver proposed openstack/swift master: ShardRange: track last state change timestamp  https://review.opendev.org/c/openstack/swift/+/92603608:09
opendevreviewAlistair Coles proposed openstack/swift master: WIP: fix POST to existing object return 404  https://review.opendev.org/c/openstack/swift/+/92599315:09
opendevreviewTim Burke proposed openstack/swift master: tests: Explore symlinks in versioning-enabled containers  https://review.opendev.org/c/openstack/swift/+/92602116:36
opendevreviewTim Burke proposed openstack/swift master: Add helpers for adding/popping parameters  https://review.opendev.org/c/openstack/swift/+/92582517:05
opendevreviewTim Burke proposed openstack/swift master: Add helpers for adding/popping parameters  https://review.opendev.org/c/openstack/swift/+/92582517:11
fulecorafaHey, anybody up? We're implementing here bucket policies, but we have a problem. I am making an object request while the policy information is a container information, which we need to validate access. I was thinking of altering s3request.py::_get_response to also make a request to the bucket and fill the response headers with what is returned. Any thoughts on that?19:02
timburkefulecorafa, i'd think that get_container_info would probably return the info you want. s3api even has a helper if you're looking for container info for the primary bucket: https://github.com/openstack/swift/blob/2.33.0/swift/common/middleware/s3api/s3request.py#L1483-L151623:09
timburkethe advantage of get_container_info is that it can be served from cache (either memcache or even the request environment)23:10

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!