]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: make user email matching case-insensitive
authorCasey Bodley <cbodley@redhat.com>
Sun, 25 Feb 2024 15:04:44 +0000 (10:04 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:29 +0000 (15:34 -0400)
commit7f4391ee0549eb552c498c68d0cf2a955382989b
treef4db3793e3a31a9baa8c615ad2cbbf0f76201f93
parent59b5c1c6caa8c09646af27179535583263d06abf
rgw: make user email matching case-insensitive

handle user emails the same way we do account account emails. store
RGWUserInfo::user_email exactly as the user specified it, but convert
the object name to lower-case for case-insensitive matching

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 947390a342208a8348b030a179bc723d866c0104)
src/rgw/driver/rados/rgw_user.h
src/rgw/services/svc_user_rados.cc