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

Access Control #24

Open
mrfelpa opened this issue Aug 24, 2023 · 2 comments
Open

Access Control #24

mrfelpa opened this issue Aug 24, 2023 · 2 comments

Comments

@mrfelpa
Copy link

mrfelpa commented Aug 24, 2023

It appears that there is currently no access control to the contract. In theory, any individual can freely call the functions addEphemeralVoter, addVote and RegisterVoteProof.

@Rohit7777777
Copy link

Were you able to run the code though @mrfelpa ?

@eddieoz
Copy link
Owner

eddieoz commented May 13, 2024

Hello, sorry about the late message.
It is a proof-of-concept, with all implementation running through tests. That's why there is no access control, which should be implemented through your needs when productizing it.

This proof-of-concept shows how it works and how it can be implemented. It runs the entire process of a voting session but for demonstration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants