opendevreview | Matthew Oliver proposed openstack/swift master: ShardRange: track last state change timestamp https://review.opendev.org/c/openstack/swift/+/926036 | 08:09 |
---|---|---|
opendevreview | Alistair Coles proposed openstack/swift master: WIP: fix POST to existing object return 404 https://review.opendev.org/c/openstack/swift/+/925993 | 15:09 |
opendevreview | Tim Burke proposed openstack/swift master: tests: Explore symlinks in versioning-enabled containers https://review.opendev.org/c/openstack/swift/+/926021 | 16:36 |
opendevreview | Tim Burke proposed openstack/swift master: Add helpers for adding/popping parameters https://review.opendev.org/c/openstack/swift/+/925825 | 17:05 |
opendevreview | Tim Burke proposed openstack/swift master: Add helpers for adding/popping parameters https://review.opendev.org/c/openstack/swift/+/925825 | 17:11 |
fulecorafa | Hey, 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 |
timburke | fulecorafa, 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-L1516 | 23:09 |
timburke | the 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/!