Skip to content

Use BaseProjectService for CreateRuleService

What does this MR do and why?

refactor: Use BaseProjectService for CreateRuleService

This MR changes the parent class of the Packages::Protection::CreateRuleService from BaseService to BaseProjectService because BaseService should not be used anymore, see https://gitlab.com/gitlab-community/gitlab/-/blob/master/app/services/base_service.rb#L3 .

🛠 with at Siemens

Screenshots or screen recordings

This MR contains only backend -related changes that do not change the behavior.

How to set up and validate locally

This MR does not add or change a feature. Local validation is not necessary.

Todos

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

Edited by Gerardo Navarro

Merge request reports