Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Do you need to compare the info at the time of verification to the info at the current time? Don't need to do it automatically.

Portal changes

Mockups are available here.

On user profile page:

  • Alert for unverified users with link to new help page (wiki).
  • UI to show user is verified.
  • New ACT place(page) to show VerificationBundle and Verify/"Remove Verification" button
  • Changes to support new profile field(s).  Use UserBundle in both the user profile page and the new ACT page.
  • Need to verify that a wiki can be created where links are popped up in a new browser window (so that the instructional wiki is a launching point).   Need to support a way to link to current user profile page (special token, like "myself" that pushes the correct url into the browser history).

...

DescriptionRestrictionsIntended User / AuthorizationNotification sent toURIMethodRequest ParametersRequest BodyResponse Body

Request verification.

 

Can only request if there isn't already a submitted or approved request.

Content must match user profile, emails, ORCID in system at the time the request is made.

Rejected if required fields are blank.

any authorized userACT/verificationSubmissionPOST--VerificationSubmissionVerificationSubmission
Get a list of verification submissions. ACT--/verificationSubmissionGETlimit, offset, userId, state--VerificationSubmissionPaginatedResultsDelete verification request creatoruser who requested verification/verificationSubmission/{id}DELETE------
Change submission stateAllowed state transitions shown in diagram above.ACTuser who requested verification/verificationSubmission/{id}/statePOST--VerificationStateVerificationState--

Get UserBundle

If not self or ACT then private fields are cleared.

 Public--/user/{id}/userBundleGET----UserBundle
Link the user ID given by an oauth2 provider to a Synapse account. any authorized user--/oauth2/aliasPOST--

OAuthValidationRequest

PrincipalAlias
Unbind an alias from an account. owner of the alias /alias/{aliasType}/{aliasName}DELETE------
Download attachment from verification submission. ACT--

/file/{id}?fileAssociateType=VERIFICATION_SUBMISSION&fileAssociateId=999

GET

fileAssociateType *(required)

fileAssociateId (required)

redirect (optional)

*Note we introduce a new fileAssociateType, "VerificationSubmission". 
 download URL

...

UserBundle:

  • isCertified
  • isVerifiedhasSignedTOU
  • isACTMemberisAdmin
  • userProfile (public fields for public, private fields for owner)
  • ORCID
  • verificationSubmission* (:   if owner or ACT, will be the latest VerificationSubmission, if any.  Shown only for owner or ACT).  Otherwise, will only be included if approved and will be scrubbed of private fields.