Bug #19289
closedradosgw/swift emulate split read/write acls?
0%
Description
With ceph radosgw/swift; setting just the read or write acl clears the other. Unless that behavior is specifically desired, it's currently necessary to set both "-r" and "-w" (on the swift command) at the same time. The swift documentation strongly suggests that is not the case with native swift.
ceph stores just one combined read/write acl, and if either of -r -w was specified, re-initializes this acl before applying the changes. We could emulate swift's behavior more closely by looking to to see if one of -r -w was not specified, and if so, filtering the appropriate bits of the old acl into the new acl.
Updated by Marcus Watts about 7 years ago
- Subject changed from radosgw to radosgw/swift emulate split read/write acls?
Updated by Marcus Watts about 7 years ago
I've tried this out with swift (ocata). It definitely allows you to just update -r or -w acls separately.
Updated by Marcus Watts about 7 years ago
I've created
https://github.com/ceph/ceph/pull/14499
which has a possible fix for this problem.
Updated by Radoslaw Zarzynski about 7 years ago
- Status changed from New to Fix Under Review
- Backport set to kraken
Updated by Ken Dreyer about 7 years ago
- Backport changed from kraken to kraken, jewel
Updated by Matt Benjamin almost 7 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler almost 7 years ago
- Copied to Backport #20586: kraken: radosgw/swift emulate split read/write acls? added
Updated by Nathan Cutler almost 7 years ago
- Copied to Backport #20587: jewel: radosgw/swift emulate split read/write acls? added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Need More Info
Jewel backport is non-trivial: needs 782aaefce763e9c149f43d25d2c6632125df368f to be cherry-picked first.
Updated by Nathan Cutler about 6 years ago
- Status changed from Need More Info to Pending Backport
- Backport changed from kraken, jewel to jewel
Updated by Nathan Cutler about 6 years ago
- Backport changed from jewel to jewel kraken
Re-adding rejected kraken backport to appease backport tooling.
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved