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
How to set up and validate locally
- 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.
-
I have evaluated the MR acceptance checklist for this MR.