[web] Group audit log for Feature disablement (#26930)

Adds a `update-group-policy` group audit log including the policies that are toggled.

GitOrigin-RevId: a582d612d20c8547995228e6b92b730373a89b63
This commit is contained in:
Miguel Serrano
2025-07-11 09:15:15 +02:00
committed by Copybot
parent a8c5650f2f
commit a4e7253b6e

View File

@@ -85,7 +85,10 @@ class PromisifiedSubscription {
}
async enableManagedUsers() {
await Modules.promises.hooks.fire('enableManagedUsers', this._id)
await Modules.promises.hooks.fire('enableManagedUsers', this._id, {
initiatorId: this.admin_id,
ipAddress: '123.456.789.0',
})
}
async disableManagedUsers() {