From 3a597db7739ee0e1703d9daf9f6a869a97542263 Mon Sep 17 00:00:00 2001 From: miks Date: Thu, 29 Dec 2011 23:08:26 +0200 Subject: [PATCH] Merge deploy keys identifier with read only keys --- app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project.rb b/app/models/project.rb index 06b9e711..05b2dd8f 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -191,7 +191,7 @@ class Project < ActiveRecord::Base def repository_readers keys = Key.joins({:user => :users_projects}). where("users_projects.project_id = ? AND users_projects.repo_access = ?", id, Repository::REPO_R) - keys.map(&:identifier) + keys.map(&:identifier) + deploy_keys.map(&:identifier) end def repository_writers