New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm that each route that should be public or private actually is #54143
Comments
Here's a few endpoints that need to be open I believe:
The two donate ones haven't been created yet. |
Hi @ojeytonwilliams and the freeCodeCamp team, I've been reviewing the issue #54143 regarding the visibility of routes and have some suggestions that I believe could enhance the clarity and maintainability of the route authorization logic. Proposed Changes:
Benefits:
Next Steps: I'm looking forward to your feedback and any suggestions you might have. |
As Tom pointed out in #53997 (comment), some routes that need to be public are not. We should make sure that all the routes are public/private as determined by
https://github.com/freeCodeCamp/freeCodeCamp/blob/main/api-server/src/server/middlewares/request-authorization.js
It should also be completely unambiguous what any given route is. For example, we could separate routes into folders: /routes/public and /routes/private
The text was updated successfully, but these errors were encountered: