-
Notifications
You must be signed in to change notification settings - Fork 9
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
[BUG] Unauthorized Poll Creation on Others' Proposals #1197
Comments
@spannercode Can you check if this is still the case? |
@bosko-m This issue is still occurring: I am able to add a poll to proposals that do not belong to me. script
For further details, please refer to this Here Proposal 1958 does not belong to me, but I am still able to add a poll to it. |
Thank you @kneerose . That makes this P0. |
@kneerose Feel free to test this again on dev. |
@bosko-m This issue is still occurring on the development environment. https://www.loom.com/share/b9827619b138403fb9fa85ddc2344ad6?sid=d4bfb9bf-a1b0-4ec3-816d-5fa7626c8ee9 |
Additionally, users can submit multiple votes on the same proposal poll using the same user authentication |
@kneerose @spannercode You are free to test it again. |
CC: @bosko-m |
Context & versions
Able to add poll on others' proposal
Steps to reproduce
Send a POST request to create a poll on another user's proposal using the following curl command:
Here, I'm able to add a poll in
proposal-id: 11
. This will also reset already existing polls.Actual behavior
A poll is successfully created on another user's proposal.
Expected behavior
The system should block the creation of polls on proposals that do not belong to the authenticated user.
The text was updated successfully, but these errors were encountered: