Skip to content

Consent check in App.vue #704

@thirtyaughtsix

Description

@thirtyaughtsix

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions