Project

General

Profile

Actions

Feature #24335

closed

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

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

Status:
Resolved
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.

Actions #1

Updated by Joao Eduardo Luis almost 6 years ago

  • Assignee set to Volker Theile
Actions #3

Updated by Volker Theile almost 6 years ago

Can be marked as resolved.

Actions #4

Updated by Casey Bodley 9 days ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF