[PR #7940] [MERGED] [AI] Reject disabled-user sessions in sync-server #97400

Closed
opened 2026-05-26 14:28:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7940
Author: @MatissJanis
Created: 5/24/2026
Status: Merged
Merged: 5/25/2026
Merged by: @MatissJanis

Base: masterHead: worktree-fix-disabled-user-session


📝 Commits (3)

  • cb1835e [AI] Reject disabled-user sessions in sync-server
  • 11f9c99 [AI] Rename release notes to match PR number
  • a8695f5 Update release notes for user session invalidation

📊 Changes

4 files changed (+98 additions, -4 deletions)

View changed files

📝 packages/sync-server/src/account-db.js (+7 -1)
📝 packages/sync-server/src/app-admin.test.js (+72 -0)
📝 packages/sync-server/src/services/user-service.ts (+13 -3)
upcoming-release-notes/7940.md (+6 -0)

📄 Description

Description

Disabled user sessions should be invalidated

https://github.com/actualbudget/actual/security/advisories/GHSA-cq9c-6w48-qmfg

Testing

n/a - unit tests added

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7940 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 5/24/2026 **Status:** ✅ Merged **Merged:** 5/25/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `worktree-fix-disabled-user-session` --- ### 📝 Commits (3) - [`cb1835e`](https://github.com/actualbudget/actual/commit/cb1835e692226953813804e3637191b27e8acf69) [AI] Reject disabled-user sessions in sync-server - [`11f9c99`](https://github.com/actualbudget/actual/commit/11f9c999cebc8fe807600494e16211dca41e1d1f) [AI] Rename release notes to match PR number - [`a8695f5`](https://github.com/actualbudget/actual/commit/a8695f565248f23af0b60b2384f5db0247c435a2) Update release notes for user session invalidation ### 📊 Changes **4 files changed** (+98 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/account-db.js` (+7 -1) 📝 `packages/sync-server/src/app-admin.test.js` (+72 -0) 📝 `packages/sync-server/src/services/user-service.ts` (+13 -3) ➕ `upcoming-release-notes/7940.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://actualbudget.org/docs/contributing/#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description <!-- What does this PR do? Why is it needed? Please give context on the "why?": why do we need this change? What problem is it solving for you?--> Disabled user sessions should be invalidated ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> https://github.com/actualbudget/actual/security/advisories/GHSA-cq9c-6w48-qmfg ## Testing <!-- What did you test? How can we reproduce the issue you are fixing or how can we test the feature you built? --> n/a - unit tests added ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-26 14:28:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#97400