Skip to content

Conversation

@Sudhanshugochar
Copy link

This pull request finalizes the backend implementation for the Private Project Notes feature by fully integrating routes, controllers, authentication, and role-based access control. It adds and connects the GET, POST, and PUT note routes with the noteController, ensures that all note operations are protected by authentication, and applies strict role permissions—Collaborators can only read notes, while Maintainers and Admins can both read and modify notes. The update also includes TypeScript fixes for the Express req.user type, correction of import paths, and cleanup of related middleware files. All features have been tested using Postman/Thunder Client with different user roles, verifying that GET requests work for all roles, whereas POST and PUT requests are correctly restricted to Maintainers and Admins. Everything is now functioning as expected.

@vercel
Copy link

vercel bot commented Nov 19, 2025

@Sudhanshugochar is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

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