Commit 3a597db7739ee0e1703d9daf9f6a869a97542263
1 parent
78edd746
Exists in
master
and in
4 other branches
Merge deploy keys identifier with read only keys
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/project.rb
| ... | ... | @@ -191,7 +191,7 @@ class Project < ActiveRecord::Base |
| 191 | 191 | def repository_readers |
| 192 | 192 | keys = Key.joins({:user => :users_projects}). |
| 193 | 193 | where("users_projects.project_id = ? AND users_projects.repo_access = ?", id, Repository::REPO_R) |
| 194 | - keys.map(&:identifier) | |
| 194 | + keys.map(&:identifier) + deploy_keys.map(&:identifier) | |
| 195 | 195 | end |
| 196 | 196 | |
| 197 | 197 | def repository_writers | ... | ... |