Skip to content

Change work item add note permission to `createNote`

What does this MR do and why?

The MR uses a different permission createNote than updateWorkItem to check if the user has a permission to create note in work items.

Can only be merged in 16.2 due to multiversion compatibility , since the backend MR is merged in 16.1

Details here in this thread

Screenshots or screen recordings

Before After
Screenshot_2023-05-22_at_10.56.41_AM Screenshot_2023-05-22_at_10.56.12_AM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Make sure you are logged in as a guest user to a project or you can impersonate any user who is not a part of a project

To impersonate a user

  • Go to admin area
  • Go to users
  • Click on any user who has access to no group/project or create a new one ( which will automatically not be invited to any project/group)
  • impersonate the user
  1. Visit any work item -> task/objective/key result
  2. See that you are able to write a comment to any work item

MR acceptance checklist

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

Related to #412340 (closed)

Edited by Deepika Guliani

Merge request reports