overleaf/services
Antoine Clausse b0419a86f2 [web] Add audit logs for clear_sessions_set_must_reconfirm script, "must-reset-password-set" and "must-reset-password-unset" (#21776)
* Promisify clear_sessions_set_must_reconfirm.mjs

* Add test on PasswordResetTests.mjs

* Add `must-reset-password-unset` audit log

* Add `must-reset-password-set` audit log

* Add test ClearSessionsSetMustReconfirmTests.mjs

* Fixup bad copy-paste in test: `must-reset-password-set` -> `must-reset-password-unset`

* Check `must_reconfirm` before calling `removeReconfirmFlag`

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Fix unit test

* Use `promiseMapWithLimit`

* Add `{ script: true }` to AuditLog. Also use `undefined` instead of `null` for consistency

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 522026c82196d263c196503d899b8c57b05b31dd
2024-11-15 09:05:21 +00:00
..
chat Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
clsi Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
contacts Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
docstore Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
document-updater Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
filestore Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
git-bridge Merge pull request #21239 from overleaf/msm-jetty-update 2024-10-22 08:06:49 +00:00
history-v1 Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
notifications Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
project-history Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
real-time Merge pull request #21627 from overleaf/ar-node-20 2024-11-15 09:04:32 +00:00
web [web] Add audit logs for clear_sessions_set_must_reconfirm script, "must-reset-password-set" and "must-reset-password-unset" (#21776) 2024-11-15 09:05:21 +00:00