Skip to content

Added backend for requesting a new review

Phil Hughes requested to merge ph/requestReviewBackend into master

What does this MR do?

This is the backend and database portion of #293933 (closed) which will allow for users to request a new review from already assigned reviewers.

Migrating output

== 20210122153259 AddStateToMergeRequestReviewers: migrating ==================
-- add_column(:merge_request_reviewers, :state, :smallint, {:default=>0, :null=>false})
   -> 0.0051s
== 20210122153259 AddStateToMergeRequestReviewers: migrated (0.0052s) =========

Rollback output

== 20210122153259 AddStateToMergeRequestReviewers: reverting ==================
-- remove_column(:merge_request_reviewers, :state, :smallint, {:default=>0, :null=>false})
   -> 0.0094s
== 20210122153259 AddStateToMergeRequestReviewers: reverted (0.0134s) =========

Screenshots (strongly suggested)

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
Edited by Phil Hughes

Merge request reports