Project

General

Profile

Feature #24335

Get the user metadata of the user used to sign the request

Added by Volker Theile almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently it is not possible to get the metadata of a user without specifying the user ID via /admin/metadata/user=xyz. In some cases it is necessary to retrieve the metadata of the user that is used to sign the API request. To to so i suggest to implement something like /admin/metadata/user?self.

Background:
In the Dashboard it is necessary to check if a RGW user that is going to be deleted is not the user account that is used to access the RGW Admin OPS API. The problem is that the Dashboard only knows about the access/secret key of the administration account. With the above feature it is easy to retrieve the user name of the administration account.

History

#1 Updated by Joao Eduardo Luis almost 6 years ago

  • Assignee set to Volker Theile

#3 Updated by Volker Theile almost 6 years ago

Can be marked as resolved.

Also available in: Atom PDF