computablelabs / computablelabs/ffa-frontend
Consent check in App.vue
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.