Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9129aaef
Commit
9129aaef
authored
Jun 10, 2020
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CHange changelog message and pass current_user as author in audit event
parent
e25e6960
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
changelogs/unreleased/services-usage-1.yml
changelogs/unreleased/services-usage-1.yml
+1
-1
ee/app/services/ee/keys/create_service.rb
ee/app/services/ee/keys/create_service.rb
+1
-1
No files found.
changelogs/unreleased/services-usage-1.yml
View file @
9129aaef
---
title
:
Use Keys::CreateService to create ssh keys for a user
title
:
Record audit event when creating a new SSH Key via the API
merge_request
:
33859
author
:
Rajendra Kadam
type
:
fixed
ee/app/services/ee/keys/create_service.rb
View file @
9129aaef
...
...
@@ -14,7 +14,7 @@ module EE
end
def
audit_event_service
::
AuditEventService
.
new
(
user
,
::
AuditEventService
.
new
(
current_
user
,
user
,
action: :custom
,
custom_message:
'Added SSH key'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment