diff --git a/lib/gitlabhq/gitolite.rb b/lib/gitlabhq/gitolite.rb index 397d9fbb..e6eb8e51 100644 --- a/lib/gitlabhq/gitolite.rb +++ b/lib/gitlabhq/gitolite.rb @@ -71,7 +71,7 @@ module Gitlabhq ::Gitolite::Config::Repo.new(repo_name) end - name_readers = project.repository_readers + project.deploy_keys + name_readers = project.repository_readers name_writers = project.repository_writers repo.clean_permissions