Views overview

The app provides both views and mixins for use.

Importing an account from AnVIL

The AccountImport view provides the typical path for getting Account information from AnVIL. In this view, the user enters the email of the account to import as well as an indicator of whether the account is a service account or a user account. The view then checks whether the account is a valid AnVIL account by making an API call. If it is valid, the record is saved in the database.

User account linking

You can also use existing views to allow a user to import and link their own AnVIL Account. The AccountLink view provides a form to create a UserEmailEntry. It verifies that the email is associated with an AnVIL account, and sends an email to the that email with a verification link. The user is then required to click on the verification link to verify their email using AccountLinkVerify, create an Account, and link it to their user.

AnVIL auditing

You can audit information in the app against AnVIL using the following views: