Skip to content

Auditor field added in declared params User api

What does this MR do and why?

This MR resolves #366404 (closed)

auditor field was not added to declared_params list in users API and hence was not available for update, just updated the list with attribute name

Screenshots or screen recordings

Screenshot_2022-07-28_at_9.51.11_PM

How to set up and validate locally

  1. Use the following curl command to test the results in local environment
 curl --request PUT --header "PRIVATE-TOKEN:<TOKEN_NAME>" "https://gdk.test:3443/api/v4/users/5?auditor=true"

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading