Commit 8a71aea
committed
rgw: load copy source bucket attrs in putobj
PutObj is not loading the source bucket's attrs, which prevents
the associated policies from being loaded. As a result, the
permissions granted to the user to read from the source bucket are
not being properly evaluated.
Fixes: https://tracker.ceph.com/issues/67590
Signed-off-by: Seena Fallah <[email protected]>1 parent cd8bdbe commit 8a71aea
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3851 | 3851 | | |
3852 | 3852 | | |
3853 | 3853 | | |
| 3854 | + | |
3854 | 3855 | | |
3855 | 3856 | | |
3856 | 3857 | | |
| |||
3910 | 3911 | | |
3911 | 3912 | | |
3912 | 3913 | | |
3913 | | - | |
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
3917 | 3917 | | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | 3920 | | |
3921 | | - | |
| 3921 | + | |
3922 | 3922 | | |
3923 | 3923 | | |
3924 | 3924 | | |
| |||
3927 | 3927 | | |
3928 | 3928 | | |
3929 | 3929 | | |
3930 | | - | |
| 3930 | + | |
3931 | 3931 | | |
3932 | 3932 | | |
3933 | 3933 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1219 | 1219 | | |
1220 | 1220 | | |
1221 | 1221 | | |
| 1222 | + | |
1222 | 1223 | | |
1223 | 1224 | | |
1224 | 1225 | | |
| |||
0 commit comments