Commit 7e53cf7
committed
rgw: prevent data sync from replicating to buckets not owned by the user
Issue https://tracker.ceph.com/issues/68884 revealed that because
user_acl is initialized by default in RGWUserPermHandler::Init with
the same identity, calling verify_bucket_permission_no_policy()
would mistakenly allow the request since the user ACL matches the
identity. Removing the default creation of user_acl would align the
behavior with other S3 operations to prevent unauthorized data replication.
Fixes: https://tracker.ceph.com/issues/69972
Signed-off-by: Seena Fallah <[email protected]>1 parent e24bb7e commit 7e53cf7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2694 | 2694 | | |
2695 | 2695 | | |
2696 | 2696 | | |
2697 | | - | |
2698 | | - | |
| 2697 | + | |
| 2698 | + | |
2699 | 2699 | | |
2700 | 2700 | | |
2701 | 2701 | | |
| |||
0 commit comments