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

[Authorization] User management in web client #306

Open
6 tasks
Tracked by #330
lanterno opened this issue Aug 24, 2023 · 1 comment
Open
6 tasks
Tracked by #330

[Authorization] User management in web client #306

lanterno opened this issue Aug 24, 2023 · 1 comment

Comments

@lanterno
Copy link
Contributor

lanterno commented Aug 24, 2023

The web frontend has a nice UI for managing users, but most of the functionality is not implemented on the backend

ToDo:

  • List users with their access level (admin, operator) (backend)
  • Add a new user as Admin/Operator (backend)
  • Modify an existing user access level (backend)
  • Delete access for an existing user (backend)
  • Give user permission to vote on a specific election (backend + frontend)
  • Upload a file with list of users who are allowed to vote on a specific election (backend + frontend)

This requires in the beginning a correct setup of roles-to-permissions conversion. It can be handled in the backend in a normal function, or handled in a more sophisticated way using "casbin". This requires a bit of research.

Note:
We use the Casbin library to implement Authorization

@lanterno lanterno changed the title [WIP] [Authorization] User management tab [WIP] [Authorization] User management in web client Aug 24, 2023
@lanterno lanterno changed the title [WIP] [Authorization] User management in web client [Authorization] User management in web client Aug 25, 2023
@PascalinDe PascalinDe moved this to Todo in D-Voting Sep 27, 2023
@ineiti ineiti mentioned this issue Oct 6, 2023
8 tasks
@PascalinDe
Copy link
Contributor

@lanterno what is the status of this ticket? it seems like parts of it are done?

@PascalinDe PascalinDe moved this from Todo to In Progress in D-Voting Nov 8, 2023
@PascalinDe PascalinDe moved this from In Progress to Todo in D-Voting Nov 8, 2023
@PascalinDe PascalinDe moved this from Todo to Backlog in D-Voting Nov 8, 2023
@PascalinDe PascalinDe moved this from Backlog to Todo in D-Voting Nov 8, 2023
@PascalinDe PascalinDe moved this from Todo to To Test in D-Voting Nov 8, 2023
@PascalinDe PascalinDe self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants