c4dt / d-voting

📧 E-Voting platform based on the Dela blockchain
https://dedis.github.io/d-voting
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Non-voter user should not see the ballot #117

Closed PascalinDe closed 8 months ago

PascalinDe commented 8 months ago

An authenticated but non-voter user should not see the ballot displayed when ending up at /ballot/show/$FORMID. Instead a page is shown informing the user that they are not allowed to vote in the election.

PascalinDe commented 8 months ago
  • Fix linter errors

this linting drives me crazy - I always run it before pushing but I somehow seem to be always missing something :sob:

ineiti commented 8 months ago
  • Fix linter errors

this linting drives me crazy - I always run it before pushing but I somehow seem to be always missing something 😭

We can add a .pre-commit-config.yaml, then you can define a pre-commit hook, so it always runs the linter. But I have more trouble with the pre-commit package than it solves...

PascalinDe commented 8 months ago

Can you rebase on main and see if the go test passes?

all green :partying_face: