Merge pull request #15001 from overleaf/em-invite-audit-logs

Project audit logs for invite operations

GitOrigin-RevId: c2db4bc719f508c5bf33be2c59eddfb63fcdae25
This commit is contained in:
Eric Mc Sween
2023-10-10 08:10:39 -04:00
committed by Copybot
parent 03aaabd5cb
commit 33765cd650
10 changed files with 437 additions and 389 deletions
@@ -6,6 +6,7 @@ const ProjectAuditLogEntrySchema = new Schema(
projectId: { type: Schema.Types.ObjectId, index: true },
operation: { type: String },
initiatorId: { type: Schema.Types.ObjectId },
ipAddress: { type: String },
timestamp: { type: Date, default: Date.now },
info: { type: Object },
},