Bug #2650
rgw: swift key creation overrides subuser access mask
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
- radosgw-admin subuser create --uid=johndoe --subuser=johndoe:swift
--access=full { "user_id": "johndoe",
"rados_uid": 0,
"display_name": "John Doe",
"email": "john@example.com",
"suspended": 0,
"subusers": [ { "id": "johndoe:swift",
"permissions": "full-control"}],
"keys": [ { "user": "johndoe",
"access_key": "QFAMEDSJP5DEKJO0DDXY",
"secret_key": "iaSFLDVvDdQt6lkNzHyW4fPLZugBAI1g17LO0+87"}],
"swift_keys": []}
Note "permissions": "full-control"
- radosgw-admin key create --subuser=johndoe:swift --key-type=swift
{ "user_id": "johndoe",
"rados_uid": 0,
"display_name": "John Doe",
"email": "john@example.com",
"suspended": 0,
"subusers": [ { "id": "johndoe:swift",
"permissions": "<none>"}],
"keys": [ { "user": "johndoe",
"access_key": "QFAMEDSJP5DEKJO0DDXY",
"secret_key": "iaSFLDVvDdQt6lkNzHyW4fPLZugBAI1g17LO0+87"}],
"swift_keys": [ { "user": "johndoe:swift",
"secret_key": "E9T2rUZNu2gxUjcwUBO8n\/Ev4KX6\/GprEuH4qhu1"}]}
Related issues
History
#1 Updated by Anonymous about 11 years ago
- Project changed from Ceph to rgw
#2 Updated by Ian Colle over 10 years ago
- Priority changed from Normal to High
#3 Updated by Sage Weil over 10 years ago
- Status changed from New to 12
#4 Updated by Ian Colle over 10 years ago
- Assignee set to caleb miles
#5 Updated by Ian Colle over 10 years ago
- Status changed from 12 to In Progress
#6 Updated by caleb miles over 10 years ago
- Status changed from In Progress to Resolved
resolved, commit dd19d693e6528c70167958ebc57e075200a08803