[go: up one dir, main page]

Skip to content

Project import/creation behavior is not consistent for administrators when creating a project from home screen and from group screen

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

Project import/creation behavior is not consistent for administrators when creating a project from home screen and when doing it inside the group.

Steps to reproduce

  • Login as an administrator and make note of groups that you own
  • on Your home screen, click New Project > Import Project > GitLab Export (or any other method) and try to find the group that you do not own in the dropdown

What is the current bug behavior?

You won't be able to select the group that you do not own in the dropdown as they won't be shown there.

What is the expected correct behavior?

For administrators, it should be possible to select group that you do not own in the dropdown.

Relevant logs and/or screenshots

n/a

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information
System:   Ubuntu 20.04
Proxy:    no
Current User: git
Using RVM:  no
Ruby Version: 2.7.5p203
Gem Version:  3.1.4
Bundler Version:2.1.4
Rake Version: 13.0.6
Redis Version:  6.0.16
Git Version:  2.33.1.
Sidekiq Version:6.3.1
Go Version: unknown

GitLab information
Version:  14.7.0-ee
Revision: 621e5984888
Directory:  /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.7
URL:    https://gitlabhost.tld
HTTP Clone URL: https://gitlabhost.tld/some-group/some-project.git
SSH Clone URL:  git@gitlabhost.tld:some-group/some-project.git
Elasticsearch:  no
Geo:    no
Using LDAP: yes
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version:  13.22.2
Repository storage paths:
- default:  /var/opt/gitlab/git-data/repositories
GitLab Shell path:    /opt/gitlab/embedded/service/gitlab-shell
Git:    /opt/gitlab/embedded/bin/git

Workaround:

Click the required group, and click New project there - you will be able to import/create a new project from this page as an administrator even if you do not own this group.

Edited by 🤖 GitLab Bot 🤖