Commit 3a597db7 authored by miks's avatar miks
Browse files

Merge deploy keys identifier with read only keys

parent 2084b293ceb2
......@@ -191,7 +191,7 @@ def reset_access(user)
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment