Change the mutation and permissions for image note reposition
requested to merge 207334-design-view-relax-permissions-for-updateimagediffnote-mutation into master
What does this MR do?
Currently, we scope updateImageDiffNote
mutation to users with admin_note
permission for individual notes. Due to this, most users are unable to move another user's note's position
. The desired behaviour is that all users of design management are able to move all pins (even those that are not their own).
This MR allows us to fetch the new reposition_note
permission on user permissions and changes updateImageDiffNote
mutation to repositionImageDiffNote
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #207334 (closed)
Edited by Nicolò Maria Mezzopera