gitlab-org--gitlab-foss/spec
Dmitriy Zaporozhets 9c14ed0689 Merge branch 'public-deploy-keys' into 'master'
Allow admin to create public deploy keys that are accessible to any project.

Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/1774.

Project settings:

![Screen_Shot_2015-03-27_at_14.46.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/01799ff912671ba6db3f828ea1aca1a6/Screen_Shot_2015-03-27_at_14.46.48.png)

The "Public deploy keys" section is only shown when there are any. If there are public deploy keys but no project deploy keys, only public deploy keys are shown. If there are no public deploy keys and no project deploy keys, the current "Deploy keys from projects you have access to will be displayed here" placeholder is shown.

The list of projects below the public key has been changed to only show projects the user has access to.

"Public deploy key" seems to be repeated on the left, but the first is just the title. The label is always visible for public deploy keys.

Admin index:

![Screen_Shot_2015-03-27_at_14.47.06](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ea889d274cfd3f0694d47d602f4f3e94/Screen_Shot_2015-03-27_at_14.47.06.png)

Admin detail page:

![Screen_Shot_2015-03-27_at_14.47.16](https://gitlab.com/gitlab-org/gitlab-ce/uploads/8c8475e05bf6b497da3b9f1bc102329f/Screen_Shot_2015-03-27_at_14.47.16.png)

Projects using the deploy key are listed on the left and can be disabled easily.

See merge request !469
2015-04-13 09:08:13 +00:00
..
controllers Render a 404 when RefsController#logs_tree gets an HTML request 2015-04-06 23:08:28 -04:00
factories Added comment notification events to HipChat and Slack services. 2015-03-06 06:54:00 -08:00
features Upon successful login, clear `reset_password_token` field 2015-04-08 16:06:56 -04:00
finders Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
fixtures
helpers Fix broken file browsing with a submodule that has a relative link 2015-04-09 22:10:59 -07:00
javascripts
lib Move lib/gitlab/oauth to lib/gitlab/o_auth 2015-04-09 14:19:24 -04:00
mailers Add ability to configure Reply-To address in gitlab.yml 2015-04-03 06:47:54 -07:00
models Merge branch 'public-deploy-keys' into 'master' 2015-04-13 09:08:13 +00:00
requests/api Modified lib/api/entities.rb to expose Project class tag_list property to the API 2015-04-03 04:35:12 -04:00
routing Merge branch 'public-deploy-keys' into 'master' 2015-04-13 09:08:13 +00:00
services Merge branch 'ci_fork' into 'master' 2015-04-09 13:41:37 +00:00
support Merge pull request #9044 from tsigo/rs-git-template-env 2015-03-29 03:40:56 -07:00
tasks/gitlab Merge branch 'fix-backup-spec-regexp' into 'master' 2015-04-03 08:49:47 +00:00
workers CI forking: tests 2015-04-06 19:45:16 +03:00
factories.rb Add admin deploy keys tests. 2015-04-03 12:51:01 +02:00
factories_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
spec_helper.rb Add ActiveRecord::Migration.maintain_test_schema! to spec_helper 2015-03-27 15:31:16 -04:00