Skip to content

Add pipelineScheduleTakeOwnership mutation

Payton Burdette requested to merge 378202-create-take-ownership-mutation into master

What does this MR do and why?

Adds missing GraphQL functionality: ability to take ownership of a pipeline schedule via GraphQL

Will be used in refactor &6189 (closed) to move the pipelines schedule feature to Vue/GraphQL.

Screenshots or screen recordings

Screen_Shot_2022-10-18_at_10.23.05_AM

How to set up and validate locally

  1. Create pipeline schedules
  2. Run mutation impersonating another user who has correct access rights to project (maintainer)
  3. Confirm mutation takes over pipeline to new user
  4. Also run mutation impersonating another user who does not have rights (reporter)
  5. Confirm error and the ownership did not take affect

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

Edited by Payton Burdette

Merge request reports

Loading