feat: use invite dialogue to invite visitors - #1094
Conversation
…-user-accepts-invit
…visit registration claims
…-working-with-visit
…pings across configuration files
…-working-with-visit
…-working-with-visit
…invit' into SWAP-4726-new-user-selection-dialogue-not-working-with-visit
… email template handling
…-working-with-visit
…ct handling in insert
…-working-with-visit
Scott-James-Hurley
left a comment
There was a problem hiding this comment.
Looks great. STFC doesn't use the invite functionality so I've just looked at the code.
|
A generic question: is there a way to embed the proposal title, id, etc into the invite email? Not sure if the proposal reference is part of the associated Event. This would be necessary for the invited user to be able to decide if she/he wants to join the proposal or not. |
Thanks, this is a good point, I will add it as our User Officer would definitely complain not having it :) |
thanks. Another question: I made some tests and found thet the invited co-proposer will never turn automaticallly a co-proposer even if he logs in with the email address the invite was sent to. That is, the invite code is always required to join a proposal. Is that correct? |
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit
…-working-with-visit

Description
This PR implements the feature to invite visitors using an invite dialogue.
Motivation and Context
This feature was required to allow invite users to an experiment visit even if user is not presently on the system.
Changes
visit_registration_claimshas been added to the Postgres database to store visit registration claims. This table references theinvitesandvisitstables and will store each invite sent out to a potential visitor.VisitAuthorizationandVisitRegistrationClaimDataSourceclasses have been added to handle the authorization and data source for the new invite feature.How Has This Been Tested?
With tests and manually
Fixes Jira Issue
https://jira.esss.lu.se/browse/SWAP-4726
Depends On
Tests included/Docs Updated?