diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:08:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:08:38 +0300 |
commit | 93b6ee78bf98cbc42712b7c5486ab0e78adb339f (patch) | |
tree | 29efc441f06368d2ec05196fcba070ee37c765b7 /app/models/deploy_key.rb | |
parent | 96add3eb957ee4256910087070e27850dd61cfe9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/deploy_key.rb')
-rw-r--r-- | app/models/deploy_key.rb | 4 |
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 |