Skip to content

Only validate project visibility when it has changed

Stan Hu requested to merge sh-skip-validation-visibility-changed into master

On GitLab.com, there are hundreds of projects that have visibility levels that are inconsistent with the fork or group settings. Most likely, this happened during a GitLab project import because the validation was bypassed. Attempting to migrate these projects to hashed storage fails even though the migration doesn't touch the visibility settings. Skipping the visibility validation allows the migration to go through.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55881

Edited by Stan Hu

Merge request reports