Skip to content

Reenables /user API request to return private-token if user is admin and requested with sudo

Tiago Botelho requested to merge 24537-reenable-private-token-with-sudo into master

What does this MR do?

Reenables the API /users to return private-token when sudo is either a parameter or passed as a header and the user is admin.

Screenshots (if relevant)

Without sudo:

Screen_Shot_2016-11-21_at_11.44.49

With sudo: Screen_Shot_2016-11-21_at_11.45.52

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #24537 (closed)

Merge request reports