Port of "Resolve various visibility level settings issues" to EE
requested to merge 31273-creating-an-project-within-an-internal-sub-group-gives-the-option-to-set-it-a-public-ee into master
port of gitlab-org/gitlab-ce!13442 to EE
port of gitlab-org/gitlab-ce!13442 to EE