Skip to content

Use allowlist of allowed attributes for imported models (part 3)

What does this MR do and why?

This change changes the behavior that is responsible for filtering out attributes when importing new project. We were cleaning attributes based on list of excluded patterns and attributes. For ProtectedBranch, ProtectedTag, ProtectedEnvironment and Releases we are changing that behavior.

How to set up and validate locally

  1. Create new project, configure Protected Branches, add new Tag and configure Protected Tags, add new Environment and Protected Environments and create new Release.
  2. Export that project.
  3. Create new project by importing previously exported package.
  4. Verify if project is imported along with configured settings.

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

Merge request reports