Bug #36235
unable to create users in different tenants with same e-mail address
0%
Description
I'm unable to create RGW users in different tenants with the same e-mail address. I think this should be possible.
Steps to reproduce:
$ radosgw-admin user create --uid=a\$user --email=example@example.org --display-name=user
[...]
$ radosgw-admin user create --uid=b\$user --email=example@example.org --display-name=user
could not create user: unable to parse parameters, user id mismatch, operation id: a$user does not match: b$user
This affects Luminous 12.2.8 and the master branch as of 27 Sep 2018.
History
#1 Updated by Yehuda Sadeh over 4 years ago
This is the current expected behavior. The email index is cross tenant locator for all users.
#2 Updated by Yehuda Sadeh over 4 years ago
- Assignee set to Marcus Watts
#3 Updated by Yehuda Sadeh over 4 years ago
@mwatts we need to understand whether the current behavior makes sense, or does it need to be changed.
#4 Updated by Anton Oks over 2 years ago
Hi all.
Ran into this also now.
We want to have multiple "RGW users", representing different things like projects, applications, fab equipment, IoT devices,... BUT we need to map the real owner/responsible also to that RGW account.
The real person will also have to review feedback once in a while if i.e. the RGW user(s), "his" buckets ... are still needed or not... and we would like to use the "responsible" email addresses for this review/feedback process.
All this means, we have to be able to have different RGW users with the same email address.
Any workaround, hints, ... how we could archive what we need?
Or any chance to even officially implement this into RGW (if not, what is/was the rational for NOT having it in now)?