juju-solutions / review-queue

Juju Review Queue webapp
4 stars 4 forks source link

Don't let the same user vote multiple times on the same review #65

Open tvansteenburgh opened 7 years ago

tvansteenburgh commented 7 years ago

If it's someone with power to vote +2, technically we could allow them to vote +1 two times. But not +1 and then +2 (total of +3). And if the user can only vote +1, they shouldn't be allowed to vote +1 and then +1 again.

A more succinct way to say this is, each user has a max vote-power per review, which we should enforce.

tvansteenburgh commented 7 years ago

Actually I guess this is equally true for negative votes.