Project

General

Profile

Actions

Bug #15455

closed

rgw rest admin: AccessDenied is returned when we try to get a user info without a uid param

Added by Abhishek Lekshmanan about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When a request is made (with proper authentication) and uid param is not specified, we return 403: AccessDenied, whereas the actual error is a bad request as the request did not contain the mandatory uid param

request: GET http://127.0.0.1:8001/admin/user

response: {
"Code": "AccessDenied",
"RequestId": "tx000000000000000000002-00570b9f20-1488b-us-east1",
"HostId": "1488b-us-east1-us"
}
// GET http://127.0.0.1:8001/admin/user
// HTTP/1.1 403 Forbidden
// x-amz-request-id: tx000000000000000000002-00570b9f20-1488b-us-east1
// Content-Length: 116
// Accept-Ranges: bytes
// Content-Type: application/json
// Date: Mon, 11 Apr 2016 13:02:13 GMT
// Connection: Keep-Alive
// Request duration: 309.252499s

Actions #1

Updated by Abhishek Lekshmanan about 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Abhishek Lekshmanan
Actions #2

Updated by Abhishek Lekshmanan about 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Abhishek Lekshmanan almost 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF