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

Membership (scoped access by email domain) #354

Open
paula-berman opened this issue Jun 19, 2018 · 6 comments
Open

Membership (scoped access by email domain) #354

paula-berman opened this issue Jun 19, 2018 · 6 comments

Comments

@paula-berman
Copy link

@santisiri would it be possible to deploy the university urls in a way that only allows users that register with the respective university e-mail to vote? So you could only vote at ucberkeley.democracy.earth if you register with a @berkeley.edu e-mail.

This would enable all kinds of university pilots.

@LucasIsasmendi
Copy link
Member

regarding univesity...we have this permissioned branch

@santisiri
Copy link
Member

santisiri commented Jun 19, 2018

Merged now.

@santisiri santisiri added this to the Version 1.0.0 milestone Jun 19, 2018
@paula-berman
Copy link
Author

paula-berman commented Jun 19, 2018

ok, can we have that already working on the deployment of our new manual university jurisdictions? @LucasIsasmendi @santisiri

yale.democracy.earth - #yale - only users with @yale.edu e-mails can vote

ucberkeley.democracy.earth - #ucberkeley - only users with @berkeley.edu e-mails can vote

uva.democracy.earth - #uva - only users with @virginia.edu e-mails can vote

cornell.democracy.earth - #cornell only users with @cornell.edu e-mails u can vote

northwestern.democracy.earth - #northwestern only users with @u.northwestern.edu e-mails can vote

@LucasIsasmendi
Copy link
Member

We need to create independent instances for each university.
Regarding database we have 2 options:

  1. create independent mongodb instances for each university (not shared database)
  2. implement the concept of scope(~) and use shared database. The app will know if the user is available to vote in that scope ~yale, ~ucberkeley, ~uva, ~cornell, ~northwestern

Option 2 is long term approach feature.
Option 1 is good to get some analytics insights

@paula-berman
Copy link
Author

@LucasIsasmendi does that mean that those users wouldn't be connected to vote.democracy.earth?

@santisiri
Copy link
Member

Option 2. they will be connected.

@domi41 domi41 changed the title Membership Membership (scoped access by email) Nov 12, 2020
@domi41 domi41 changed the title Membership (scoped access by email) Membership (scoped access by email domain) Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants