Do not show confidential notes checkbox for users with access level less than REPORTER
What does this MR do and why?
We are going to allow only reporter+ users to create confidential notes, this MR hides the checkbox to mark a note as confidential to users without access.
We should also not allow confidential notes being created by guests. This is going to be handled by !98588 (merged).
Before
After
related to #363045 (comment 1110036970)
How to validate locally
- Create project/group
- Add a user as guest
- Go to an epic or issue comment box
- Confidential checkbox from the screenshot above should not be visible
- Promote the same user to reporter
- Confidential checkbox should now be visible
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.
Edited by Felipe Cardozo

