Skip to content

fix(route): set /api/posts/:role/:id to public - #142

Merged
ayush00git merged 3 commits into
mainfrom
fix/post-route
Sep 12, 2026
Merged

ayush00git merged 3 commits into
mainfrom
fix/post-route

Conversation

@ayush00git

@ayush00git ayush00git commented Sep 12, 2026

Copy link
Copy Markdown
Owner

This PR sets GetPostByID handler to public, improving the UX. Done by design for letting users access latest notifications on their posts on any device where they have their mail but not logged in on that device.
Comments + Status Changes still requires authentication, and only post's author and admins are authorized to comment.

@ayush00git
ayush00git merged commit d9202af into main Sep 12, 2026
3 of 4 checks passed
@ayush00git
ayush00git deleted the fix/post-route branch September 12, 2026 08:21
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.

1 participant