Skip to content

Alert Management assignee filter

David O'Regan requested to merge 232798-alrt-graphql into master

What does this MR do?

A broken out piece of: !44347 (merged) to reduce the size of the merge. Note, this section has already been approved by database and reviewed by backend : !44347 (comment 423944533)

Database queries

SELECT "alert_management_alerts".* 
FROM   "alert_management_alerts" 
       INNER JOIN "alert_management_alert_assignees" 
               ON "alert_management_alert_assignees"."alert_id" = 
                  "alert_management_alerts"."id" 
       INNER JOIN "users" 
               ON "users"."id" = "alert_management_alert_assignees"."user_id" 
WHERE  "alert_management_alerts"."project_id" = 1 
       AND ( Lower("users"."username") IN ( Lower('caneldem') ) ) 

Plan: https://explain.depesz.com/s/peYb

Screenshots

N/A

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 #232798 (closed)

Edited by Peter Leitzen

Merge request reports

Loading