python-radosgw-admin
python-radosgw-admin copied to clipboard
Modfying user capabilities
Hi,
Thanks for making this client library, I'm finding it immensely useful.
I'm having an issue modifying caps for a given user post-creation. It seems fine to create a user with a set of caps but post-creation doesn't seem to work. Looking at the logs in RGW it doesn't seem to be complaining about anything. Not sure if it's an issue with RGW or the library.
for example:
testuser2 = rgwadmin.create_user('testuser2',
display_name='A test user',
email='[email protected]')
testuser2.update(display_name='Second test user', user_caps='buckets=*')
The request returns 200 and the RGW logs all look good. Keen to know if you've seen this issue.
Thanks
Thanks for reporting this issue, I'll try to have a look at it asap