mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3754] [Feature]: Isolate NoodleR private accounts from public Noodle data #2023
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2023
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3754
Originally assigned to: @Gunterlie on GitHub.
What problem does this solve?
NoodleR private-account creation previously required a private-row insert followed by a separate reverse-link write on the public account. A failure or concurrent request could leave an orphan or duplicate. Private rows, posts, and interactions also need a hard boundary from existing public Noodle queries and mutations before later NoodleR features build on them.
Proposed solution
Store explicit account visibility and a nullable public-account owner on the private row, enforce one private account per public account with a conditional unique constraint, derive the reverse relationship instead of writing it separately, and keep private-account access behind a default-off NoodleR gate. Public Noodle reads, mutations, resets, posts, interactions, and digests must exclude private data.
Implementation owner: @Gunterlie in #3751. Maintainer integration: @SpicyMarinara.
Alternatives considered
Keeping the reverse link in the public account settings and relying on application-level duplicate checks was considered, but it retains the two-write failure window and does not provide a storage-level concurrency guarantee.
Additional context
Implementation PR: #3751. This follows the NoodleR direction and review findings discussed in closed PR #3618.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: