python-radosgw-admin icon indicating copy to clipboard operation
python-radosgw-admin copied to clipboard

Modfying user capabilities

Open castlemilk opened this issue 8 years ago • 1 comments

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

castlemilk avatar Jun 05 '17 03:06 castlemilk

Thanks for reporting this issue, I'll try to have a look at it asap

valerytschopp avatar Jun 27 '17 15:06 valerytschopp