Skip to content

Disable mirror importing when the project is archived

What does this MR do?

Pull mirror importing fails once the project is archived as it becomes read only. This MR excludes archived project when scheduling pull mirror importing and also hides force importing button from UI.

I was thinking of adding a warning label there, but kept it simple for now.

Screenshots

Screen_Shot_2020-01-31_at_6.13.48_pm

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

Relates to #25970 (closed)

Edited by Mayra Cabrera

Merge request reports