Support setting confidential note attribute in UI [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Lee Tickett requested to merge 207473-allow-set-confidential-note-attribute into master

What does this MR do?

Introduces the ability to set an issuable note as confidential through the UI - closes #207473 (closed).

It adds feature flag confidential_notes which is tracked in #207474 (closed).

Enable feature flag

In Rails console do:

Feature.enable(:confidential_notes)

Screenshots (strongly suggested)

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #207473 (closed)

Edited by Lee Tickett