gitlab-org--gitlab-foss/app/controllers/projects
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
..
application_controller.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
avatars_controller.rb Introduce shortcuts for routing helpers 2015-02-25 19:34:16 -08:00
blame_controller.rb Reuse blob object fetched by Gitlab::Git::Blame. 2015-03-13 13:49:27 +01:00
blob_controller.rb Web Editor: save to new branch 2015-02-24 11:43:20 +02:00
branches_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
commit_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
commits_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
compare_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
deploy_keys_controller.rb Clean up code. 2015-04-03 12:28:47 +02:00
forks_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
graphs_controller.rb Everything from gitlab_git is already UTF-8. 2015-03-13 13:49:27 +01:00
hooks_controller.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
imports_controller.rb Fixing import redirect loop 2015-03-09 16:36:41 -07:00
issues_controller.rb tests 2015-03-16 21:38:41 +02:00
labels_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
merge_requests_controller.rb Refactor GitAccess to use instance variables. 2015-03-24 14:11:48 +01:00
milestones_controller.rb Use same constant for amount of items per page 2015-03-12 15:37:00 -07:00
network_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
notes_controller.rb Fix bug where editing a comment with "+1" or "-1" would cause a server error 2015-03-02 15:26:00 -08:00
project_members_controller.rb Use project_member instead of team_member. 2015-03-15 13:50:38 +01:00
protected_branches_controller.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
raw_controller.rb Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404. 2015-02-20 17:20:03 +01:00
refs_controller.rb Render a 404 when RefsController#logs_tree gets an HTML request 2015-04-06 23:08:28 -04:00
repositories_controller.rb Add tests. 2015-03-31 13:37:21 +02:00
services_controller.rb Add a service to support external wikis 2015-03-12 19:13:51 +01:00
snippets_controller.rb Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00
tags_controller.rb Move tag deletion to service and execute hooks and services. 2015-03-13 16:07:08 +01:00
tree_controller.rb Merge branch 'master' into rails-4.1.9 2015-02-21 12:55:28 -07:00
uploads_controller.rb Satisfy Rubocop. 2015-02-20 16:04:03 +01:00
wikis_controller.rb Fix bug where Wiki pages that include a '/' were no longer accessible 2015-04-07 09:10:11 -07:00