Merge pull request #25351 from overleaf/revert-24919-jel-create-group-audit-log

Revert "[web] Add group audit log"

GitOrigin-RevId: cf192bbe3ebdb693f18bab9c1c5d08da18ed34c0
This commit is contained in:
Jessica Lawshe
2025-05-07 08:07:34 +00:00
committed by Copybot
parent f72a34f25b
commit 12939b91b3
5 changed files with 8 additions and 70 deletions
@@ -1,23 +0,0 @@
const mongoose = require('../infrastructure/Mongoose')
const { Schema } = mongoose
const GroupAuditLogEntrySchema = new Schema(
{
groupId: { type: Schema.Types.ObjectId, index: true },
info: { type: Object },
initiatorId: { type: Schema.Types.ObjectId },
ipAddress: { type: String },
operation: { type: String },
timestamp: { type: Date, default: Date.now },
},
{
collection: 'groupAuditLogEntries',
minimize: false,
}
)
exports.GroupAuditLogEntry = mongoose.model(
'GroupAuditLogEntry',
GroupAuditLogEntrySchema
)
exports.GroupAuditLogEntrySchema = GroupAuditLogEntrySchema