Skip to content

fix: notification creation preserves server-owned id and read state#6502

Open
xiaorui6273-ui wants to merge 1 commit into
SecureBananaLabs:mainfrom
xiaorui6273-ui:fix-notification-2762
Open

fix: notification creation preserves server-owned id and read state#6502
xiaorui6273-ui wants to merge 1 commit into
SecureBananaLabs:mainfrom
xiaorui6273-ui:fix-notification-2762

Conversation

@xiaorui6273-ui

Copy link
Copy Markdown

Closes #2762

What
Strips caller-supplied id and read fields during notification creation so the server always owns these values.

Why
A request body could previously override the generated notification id and set notifications as already read.

/bounty $780

github-actions Bot added a commit that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notification creation should preserve server-owned id and read state

1 participant