Просмотр исходного кода

[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 год назад
Родитель
Сommit
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() {