Skip to content
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

Enhance security #9

Open
dimitrisstyl7 opened this issue Jan 21, 2024 · 0 comments
Open

Enhance security #9

dimitrisstyl7 opened this issue Jan 21, 2024 · 0 comments
Labels
enhancement New feature or request optional Optional enhancement

Comments

@dimitrisstyl7
Copy link
Collaborator

Authorize /users/{id} actions:

We should enhance our security to avoid letting an authenticated user access another user's endpoints.

Example:
PUT /users/{userId}/reports/{reportId} => userId must be the same with authenticated userId

@dimitrisstyl7 dimitrisstyl7 added enhancement New feature or request optional Optional enhancement labels Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request optional Optional enhancement
Projects
None yet
Development

No branches or pull requests

1 participant