Admin user can't transfer project from a user to a group
Summary
Operating as an admin user I don't seem to be able to transfer a project from a user namespace to a group namespace. Not sure if this is actually a bug or an intended behaviour though. This is happening on Gitlab CE version 8.11.5-ce.0 running in a docker container.
Steps to reproduce
While using a regular account, create a project. Then have an admin user try to transfer that project to a group namespace.
What is the current bug behavior?
The "Transfer Project" section of a sample project the admin user has no way to select a target group where to move the project to.
What is the expected correct behavior?
An admin user should be able to view and select all users and all group inside the transfer project field.
Output of checks
This bug happens on an on-premises deployment of Gitlab CE.
Results of GitLab environment info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:2.3.0
Rake Version: 10.5.0
Sidekiq Version:4.1.4
GitLab information
Version: 8.11.5
Revision: f1ce997
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.<deleted on purpose>
HTTP Clone URL: https://gitlab.<deleted on purpose>/some-group/some-project.git
SSH Clone URL: git@gitlab.<deleted on purpose>:some-group/some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 3.4.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
root@gitlab:/# gitlab-rake gitlab:check SANITIZE=true
Checking GitLab Shell ...
GitLab Shell version >= 3.4.0 ? ... OK (3.4.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
50/1 ... ok
50/2 ... ok
50/3 ... ok
50/4 ... ok
50/5 ... ok
50/6 ... ok
5/7 ... ok
5/9 ... ok
14/11 ... ok
14/12 ... ok
50/13 ... ok
9/14 ... ok
50/15 ... ok
51/16 ... ok
51/17 ... ok
9/18 ... ok
9/19 ... ok
9/20 ... ok
9/21 ... ok
9/22 ... ok
9/23 ... ok
10/24 ... ok
11/25 ... ok
2/26 ... ok
10/27 ... ok
10/28 ... ok
50/29 ... ok
10/30 ... ok
11/31 ... ok
10/32 ... ok
11/33 ... ok
9/34 ... ok
10/35 ... ok
50/36 ... ok
10/37 ... ok
51/38 ... ok
11/39 ... ok
50/40 ... ok
5/41 ... ok
50/42 ... ok
10/43 ... ok
5/45 ... ok
10/46 ... ok
19/47 ... ok
19/48 ... ok
51/53 ... ok
9/56 ... ok
50/57 ... ok
10/58 ... ok
50/59 ... ok
50/60 ... ok
50/61 ... ok
22/62 ... ok
9/63 ... ok
50/64 ... ok
10/65 ... ok
50/66 ... ok
10/68 ... ok
50/69 ... ok
10/71 ... ok
51/72 ... ok
22/73 ... ok
22/74 ... ok
2/86 ... repository is empty
22/87 ... ok
22/88 ... ok
50/89 ... ok
19/90 ... ok
5/91 ... repository is empty
5/92 ... ok
22/93 ... ok
9/94 ... ok
9/95 ... ok
50/96 ... repository is empty
9/98 ... ok
16/101 ... repository is empty
16/103 ... ok
16/104 ... ok
9/105 ... ok
9/106 ... ok
9/107 ... ok
9/108 ... ok
9/109 ... ok
9/110 ... ok
9/111 ... ok
9/112 ... ok
9/113 ... ok
9/114 ... ok
9/115 ... ok
25/116 ... ok
9/117 ... ok
19/118 ... ok
10/119 ... ok
19/121 ... ok
5/123 ... ok
10/124 ... ok
9/126 ... ok
10/127 ... ok
51/128 ... ok
11/129 ... ok
11/130 ... ok
10/131 ... ok
51/132 ... ok
50/133 ... ok
51/134 ... repository is empty
51/135 ... ok
51/136 ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain
<LDAP users listing deleted on purpose>
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... no
Try fixing it:
sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads
sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} \;
sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} \;
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
50/1 ... yes
50/2 ... yes
50/3 ... yes
50/4 ... yes
50/5 ... yes
50/6 ... yes
5/7 ... yes
5/9 ... yes
14/11 ... yes
14/12 ... yes
50/13 ... yes
9/14 ... yes
50/15 ... yes
51/16 ... yes
51/17 ... yes
9/18 ... yes
9/19 ... yes
9/20 ... yes
9/21 ... yes
9/22 ... yes
9/23 ... yes
10/24 ... yes
11/25 ... yes
2/26 ... yes
10/27 ... yes
10/28 ... yes
50/29 ... yes
10/30 ... yes
11/31 ... yes
10/32 ... yes
11/33 ... yes
9/34 ... yes
10/35 ... yes
50/36 ... yes
10/37 ... yes
51/38 ... yes
11/39 ... yes
50/40 ... yes
5/41 ... yes
50/42 ... yes
10/43 ... yes
5/45 ... yes
10/46 ... yes
19/47 ... yes
19/48 ... yes
51/53 ... yes
9/56 ... yes
50/57 ... yes
10/58 ... yes
50/59 ... yes
50/60 ... yes
50/61 ... yes
22/62 ... yes
9/63 ... yes
50/64 ... yes
10/65 ... yes
50/66 ... yes
10/68 ... yes
50/69 ... yes
10/71 ... yes
51/72 ... yes
22/73 ... yes
22/74 ... yes
2/86 ... yes
22/87 ... yes
22/88 ... yes
50/89 ... yes
19/90 ... yes
5/91 ... yes
5/92 ... yes
22/93 ... yes
9/94 ... yes
9/95 ... yes
50/96 ... yes
9/98 ... yes
16/101 ... yes
16/103 ... yes
16/104 ... yes
9/105 ... yes
9/106 ... yes
9/107 ... yes
9/108 ... yes
9/109 ... yes
9/110 ... yes
9/111 ... yes
9/112 ... yes
9/113 ... yes
9/114 ... yes
9/115 ... yes
25/116 ... yes
9/117 ... yes
19/118 ... yes
10/119 ... yes
19/121 ... yes
5/123 ... yes
10/124 ... yes
9/126 ... yes
10/127 ... yes
51/128 ... yes
11/129 ... yes
11/130 ... yes
10/131 ... yes
51/132 ... yes
50/133 ... yes
51/134 ... yes
51/135 ... yes
51/136 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 44
Checking GitLab ... Finished