]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw-admin: return error on email address conflict (add user) 11952/head
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 18 Jan 2016 20:58:07 +0000 (15:58 -0500)
committerNathan Cutler <ncutler@suse.com>
Sun, 13 Nov 2016 10:23:50 +0000 (11:23 +0100)
commit3404da8f1e491df86c8a1f12606546cd5a7d952c
treeb223f677c4b1ba3848b803b94d610d6da1aafaa0
parentf5bf5c0f9e9db788fd556f9e92f805fc215138f6
rgw-admin: return error on email address conflict (add user)

Fixes the error return inconsistency documented in upstream
Ceph issue #13598

Revised after upstream review, permits changing email address as
originally (but use case-insensitive comp).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 90c143efa2156e55dc017ebe81005315cacaf2c5)

Conflicts:
src/rgw/rgw_user.cc (there is no op_state.found_by_email
        conditional in hammer)
src/rgw/rgw_user.cc