summaryrefslogtreecommitdiff
path: root/app/models/deploy_key.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-20 15:08:38 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-20 15:08:38 +0000
commit93b6ee78bf98cbc42712b7c5486ab0e78adb339f (patch)
tree29efc441f06368d2ec05196fcba070ee37c765b7 /app/models/deploy_key.rb
parent96add3eb957ee4256910087070e27850dd61cfe9 (diff)
downloadgitlab-ce-93b6ee78bf98cbc42712b7c5486ab0e78adb339f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/deploy_key.rb')
-rw-r--r--app/models/deploy_key.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/deploy_key.rb b/app/models/deploy_key.rb
index 4ed38f578ee..f9acd398374 100644
--- a/app/models/deploy_key.rb
+++ b/app/models/deploy_key.rb
@@ -40,6 +40,10 @@ class DeployKey < Key
super || User.ghost
end
+ def audit_details
+ title
+ end
+
def has_access_to?(project)
deploy_keys_project_for(project).present?
end