Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-b1
-
Component/s: None
-
Labels:None
Description
The link from the email in CORE-4844 should lead to an acceptance page if authenticated, or a login page otherwise.
Following the link should probably set a cookie or session variable that links to the account_management_invitations record.
The authentication page should have 2 buttons: Accept and Reject.
Accept should convert a account_management_invitations record to the equivalent contact_permissions records with the authenticated user's primary contact as the contact_id. This should not work if the primary contact's email doesn't match that of the account_management_invitations record.
Reject should delete a account_management_invitations record.
Appropriate messages should be displayed.