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

It is possible to modify from a knapsack budget to an approval budget and vice-versa #5321

Open
microweb10 opened this issue Nov 21, 2023 · 0 comments
Assignees
Labels

Comments

@microweb10
Copy link
Member

Description

We found out that, even the budget is already in the voting phase, and even it has received votes:

  • Changing a budget from a knapsack budget to an approval budget and vice-versa is possible.
  • Changing the number of investments you can vote on to an approval budget is possible.

Why is this Needed?

When this is not going to raise any error, the result of the voting can be altered, so users can vote more times than they should. 😅

What can be done about it?

There are some different solutions to this problem:

  • Allow admins to set those parameters only on creation. Not being able to modify them after the budget is created.
  • Do not allow admins to modify those parameters when the phase is voting or later.
  • Do not allow admins to modify those parameters if there are already votes for that budget.

And of course, there may be more solutions. ☺️
If the Consul Democracy has any specific preference about this, please let us know.
I might be able to work on a fix. 😉

Example 1 (screenshot)

A user voted more times than should.
Captura de Pantalla 2023-11-21 a las 14 01 32

Example 2 (screenshot)

A user spent more money than should.
Captura de Pantalla 2023-11-21 a las 14 02 19

@microweb10 microweb10 self-assigned this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant