[PR #7977] [MERGED] [AI] Restrict owner-only sync-server file management endpoints #122244

Closed
opened 2026-06-11 20:59:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7977
Author: @MatissJanis
Created: 5/27/2026
Status: Merged
Merged: 5/29/2026
Merged by: @MatissJanis

Base: masterHead: worktree-fix-ghsa-23vm-ffgg-qvjr


📝 Commits (4)

  • 641874b [AI] Restrict owner-only sync-server file management endpoints
  • f052955 [AI] Align release-note filename with PR number
  • 3cdfb8e Update release notes for sync-server endpoint restrictions
  • be61a1b Update upcoming-release-notes/7977.md

📊 Changes

3 files changed (+104 additions, -4 deletions)

View changed files

📝 packages/sync-server/src/app-sync.test.ts (+87 -0)
📝 packages/sync-server/src/app-sync.ts (+11 -4)
upcoming-release-notes/7977.md (+6 -0)

📄 Description

Description

Restrict some server operations to file owners only (or admins).

https://github.com/actualbudget/actual/security/advisories/GHSA-23vm-ffgg-qvjr#advisory-comment-217327

Testing

See added test coverage

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/7977 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 5/27/2026 **Status:** ✅ Merged **Merged:** 5/29/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `worktree-fix-ghsa-23vm-ffgg-qvjr` --- ### 📝 Commits (4) - [`641874b`](https://github.com/actualbudget/actual/commit/641874bb370130eb8a65775d75d79412affb47e9) [AI] Restrict owner-only sync-server file management endpoints - [`f052955`](https://github.com/actualbudget/actual/commit/f05295585a388149bee1d4b5aab31ef7e51634f7) [AI] Align release-note filename with PR number - [`3cdfb8e`](https://github.com/actualbudget/actual/commit/3cdfb8eacec5a7faa2758e54b635d982cf3276ac) Update release notes for sync-server endpoint restrictions - [`be61a1b`](https://github.com/actualbudget/actual/commit/be61a1be37f28de932a92a7b06fb7aadf09000ea) Update upcoming-release-notes/7977.md ### 📊 Changes **3 files changed** (+104 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/app-sync.test.ts` (+87 -0) 📝 `packages/sync-server/src/app-sync.ts` (+11 -4) ➕ `upcoming-release-notes/7977.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?--> Restrict some server operations to file owners only (or admins). ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> https://github.com/actualbudget/actual/security/advisories/GHSA-23vm-ffgg-qvjr#advisory-comment-217327 ## Testing <!-- What did you test? How can we reproduce the issue you are fixing or how can we test the feature you built? --> See added test coverage ## 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-06-11 20:59:26 -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#122244