]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: 'user create' rejects uids matching the account id format 60830/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 25 Nov 2024 18:07:46 +0000 (13:07 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 25 Nov 2024 18:07:50 +0000 (13:07 -0500)
commit5378cfe3c5bf5953b53beee42975d045759238b1
tree128cb23a66b7256d81b7181f05787d47349c9cf8
parente6ceec442919e2676d8250597a4d0c270b204e19
radosgw-admin: 'user create' rejects uids matching the account id format

`parse_owner()` relies on `rgw::account::validate_id()` to disambiguate
between user ids and account ids. reject attempts to create a user with
an ambiguous user id

Fixes: https://tracker.ceph.com/issues/69043
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/driver/rados/rgw_user.cc