Add backend for setWorkItemMetadata
What does this MR do and why?
After WI note action - assign/unassign to commentator (!114848 - merged) caused an incident , we had to make sure it does not happen with 15.11 release for self managed customers where sometimes it takes longer deploy periods, we shipped a hotfix to make sure that the attribute is solely handled in apollo client with this MR .
With the new milestone already started, we are adding the backend code for adding the userPermission and in the follow up MR we can remove the issuable_client code to remove the mocking.
Screenshots or screen recordings
No UI changes , users still will not be able to see the Assign/unassign to commenting user functionality, this MR just adds it to the GraphQl resolver.
How to set up and validate locally
- Visit any WI - task/objective/key result
- See that there is no console error or anything else breaking and works as expected in prod
- See that you cannot see "Assign/Unassign to commenting user" on the three dots with any work item comment/thread
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.
Related to #391995 (closed)