Fix Admin Links to new Group does not respect Default Visibility

Settings

This is done by passing a visibility_level option to the group edit _form.
The visibility_level is set to @group.visibility_level in edit ation and
to default_group_visibility in the new action.
53 jobs for jacopo-beschi/gitlab-ce-19981-admin-links-new-group-default-visibility in 79 minutes (queued for 24 seconds)
Status Job ID Name Coverage
  Prepare
passed #6375329
knapsack

00:00:41

 
  Test
passed #6375378
bundler:check

00:00:42

passed #6375370
license_finder

00:01:07

passed #6375377
lint-doc

00:01:55

passed #6375379
lint-javascript

00:01:18

passed #6375368
rake brakeman

00:02:00

passed #6375374
rake db:migrate:reset

00:02:01

passed #6375375
rake db:seed_fu

00:06:27

passed #6375371
rake downtime_check

00:01:12

failed #6377970
allowed to fail
rake ee_compat_check

00:09:48

passed #6375369
rake flay

00:01:39

passed #6375366
rake haml_lint

00:01:35

passed #6375367
rake scss_lint

00:02:55

passed #6375330
rspec 0 20

00:18:24

passed #6377969
rspec 1 20

00:19:50

passed #6375342
rspec 10 20

00:16:58

passed #6375343
rspec 11 20

00:24:36

passed #6375344
rspec 12 20

00:13:51

passed #6375346
rspec 13 20

00:28:07

passed #6375347
rspec 14 20

00:19:31

passed #6375348
rspec 15 20

00:43:54

passed #6375349
rspec 16 20

00:36:39

passed #6375350
rspec 17 20

00:28:47

passed #6375351
rspec 18 20

00:24:25

passed #6375352
rspec 19 20

00:19:30

passed #6375332
rspec 2 20

00:23:42

passed #6377971
rspec 3 20

00:18:01

passed #6377972
rspec 4 20

00:19:30

passed #6375335
rspec 5 20

00:18:18

passed #6375336
rspec 6 20

00:18:58

passed #6375337
rspec 7 20

00:21:02

passed #6375340
rspec 8 20

00:18:33

passed #6377968
rspec 9 20

00:15:14

passed #6375365
rubocop

00:04:24

passed #6377967
spinach 0 10

00:13:03

passed #6375354
spinach 1 10

00:34:15

passed #6375355
spinach 2 10

00:21:03

passed #6375356
spinach 3 10

00:09:59

passed #6375357
spinach 4 10

00:31:03

passed #6375358
spinach 5 10

00:24:14

passed #6375359
spinach 6 10

00:38:35

passed #6375360
spinach 7 10

00:19:52

passed #6375362
spinach 8 10

00:34:10

passed #6375363
spinach 9 10

00:47:03

passed #6377966
teaspoon

00:07:50

failed #6375372
allowed to fail
rake ee_compat_check

00:02:38

failed #6375331
rspec 1 20

00:09:23

failed #6375333
rspec 3 20

00:06:38

failed #6375334
rspec 4 20

00:05:08

failed #6375341
rspec 9 20

00:06:11

failed #6375353
spinach 0 10

00:06:00

failed #6375376
teaspoon

00:07:57

 
  Post Test
passed #6375381
coverage

00:06:23

89.63%
 
Name Stage Failure
failed
rake ee_compat_check Test There is an unknown failure, please try again
/builds/gitlab-org/gitlab-ce/lib/tasks/ee_compat_check.rake:3:in `block in <top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:dev:ee_compat_check
(See full trace by running task with --trace)
Uploading artifacts...
WARNING: ee_compat_check/patches/*.patch: no matching files
Uploading artifacts to coordinator... ok
id=6377970 responseStatus=201 Created token=5S4WiSC3
ERROR: Build failed: exit code 1