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

migrate admin permission checks #175

Open
PascalinDe opened this issue Aug 9, 2024 · 0 comments
Open

migrate admin permission checks #175

PascalinDe opened this issue Aug 9, 2024 · 0 comments
Labels
web frontend D-Voting frontend

Comments

@PascalinDe
Copy link
Member

PascalinDe commented Aug 9, 2024

related to #172

Currently whether someone is administrator or not is decided based on AuthContext which lists the permissions of the given user (a specific combination of permissions indicate an admin user).

Instead whether someone is an admin should directly be decided based on the list of admins managed on the blockchain: https://github.com/c4dt/d-voting/blob/student24spring_access_control/docs/api.md#a3-get-the-adminlist

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

No branches or pull requests

1 participant