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

Consent check in App.vue #704

Open
thirtyaughtsix opened this issue Dec 10, 2019 · 0 comments
Open

Consent check in App.vue #704

thirtyaughtsix opened this issue Dec 10, 2019 · 0 comments

Comments

@thirtyaughtsix
Copy link
Contributor

thirtyaughtsix commented Dec 10, 2019

Check that user has submitted consent form and that the consent version is recent. See #701

Add a new member hasConsented to AppModule where the consent version must be >= current consent version.

Keep a list of consent versions with comments in a new util/ConsentVersion.ts

The check must occur after we check for their login state. If the user is logged in (window.ethereum !== undefined and AppModule.jwt !== undefined), then run the check. If the user is not logged in go to login flow. At that point, we probably need a vuexSubscription in App.vue on appModule/setJwt.

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

1 participant