Преглед изворни кода

[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
Miguel Serrano пре 1 година
родитељ
комит
72aca352fc
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      services/web/test/acceptance/src/helpers/Subscription.mjs

+ 4 - 1
services/web/test/acceptance/src/helpers/Subscription.mjs

@@ -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() {