Project

General

Profile

Actions

Bug #2650

closed

rgw: swift key creation overrides subuser access mask

Added by Yehuda Sadeh almost 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

  1. radosgw-admin subuser create --uid=johndoe --subuser=johndoe:swift
    --access=full { "user_id": "johndoe",
    "rados_uid": 0,
    "display_name": "John Doe",
    "email": "",
    "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"

  1. radosgw-admin key create --subuser=johndoe:swift --key-type=swift { "user_id": "johndoe",
    "rados_uid": 0,
    "display_name": "John Doe",
    "email": "",
    "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 1 (0 open1 closed)

Related to rgw - Feature #3992: rgw: refactor internal user API for RGW AdminResolvedcaleb miles

Actions
Actions #1

Updated by Anonymous almost 12 years ago

  • Project changed from Ceph to rgw
Actions #2

Updated by Ian Colle over 11 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Sage Weil over 11 years ago

  • Status changed from New to 12
Actions #4

Updated by Ian Colle about 11 years ago

  • Assignee set to caleb miles
Actions #5

Updated by Ian Colle about 11 years ago

  • Status changed from 12 to In Progress
Actions #6

Updated by caleb miles about 11 years ago

  • Status changed from In Progress to Resolved

resolved, commit dd19d693e6528c70167958ebc57e075200a08803

Actions

Also available in: Atom PDF