Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(auditlog): Add member data to log entry #6420

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

MaxBittker
Copy link
Contributor

@MaxBittker MaxBittker commented Oct 25, 2017

fixes SENTRY-515

the audit code in the old form view was:

 AuditLogEntry.objects.create(		
 -            organization=organization,		
 -            actor=actor,		
 -            ip_address=ip_address,		
 -            target_object=om.id,		
 -            event=AuditLogEntryEvent.MEMBER_INVITE,		
 -            data=om.get_audit_log_data(),		
 -        )		

@@ -75,7 +75,7 @@ def get(self, request, organization):
paginator_cls=OffsetPaginator,
)

def post(self, request, organization):
def post(self, request, organization, ip_address):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what

@MaxBittker MaxBittker force-pushed the fix/auditlog/member-invite-audit-log branch from e222f52 to 1cdd454 Compare October 25, 2017 00:22
@MaxBittker MaxBittker force-pushed the fix/auditlog/member-invite-audit-log branch from 1cdd454 to affbb80 Compare October 25, 2017 00:23
@mattrobenolt mattrobenolt merged commit e3df41c into master Oct 25, 2017
@mattrobenolt mattrobenolt deleted the fix/auditlog/member-invite-audit-log branch October 25, 2017 00:30
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants