Commit Graph

15 Commits

Author SHA1 Message Date
NMerz
be80129de6 Update list sharing
Fix quite a variety of bugs with list sharing, mostly relating to ListShareGET not conforming to its contract
2020-11-30 12:16:29 -05:00
NMerz
d8f722c4ac Fix other user email retrieval
The id argument needs to actually be used
2020-11-30 10:40:38 -05:00
NMerz
53570b3356 User retrieval updates
Make sure AuthManager always has the user email.

Make UserGET always return a User object.
2020-11-30 10:35:46 -05:00
NMerz
0b85980d2a User ease of use
Make email retrieveable client-facing
2020-11-29 21:41:38 -05:00
NMerz
954b52dc0a Stricter access checking
Properly restrict access to list actions to only authorized users.
2020-11-14 14:29:48 -05:00
NMerz
87039579f7 Send more detailed account deletion email
Use SES to send an account deletion confimration email to the user when they delete their account.
2020-11-04 22:08:34 -05:00
NMerz
a12b1ae870 Update lambda tests
Update lambda tests for new and altered lambdas
2020-11-01 12:46:03 -05:00
NMerz
34d74aae6a Treat ListSharee as access table
This is so that multiple users can be paired with a single list.

In the future, we may want to reconsider list deletion behavior to simply remove a user's access and only delete it when no one has access.

We may also want the user deletion Lambda to use the list deletion Lambda when it is created.
2020-10-24 14:46:56 -04:00
NMerz
2637cab282 Create userID retrieval Lambda
Allow for the retrieval of userIDs from email (or just generally).

This may need the apigateway passthrough info modified for privacy protection
2020-10-24 12:52:45 -04:00
Clayton Wilson
c1a8103da8 Various layout improvements 2020-10-09 01:35:16 -04:00
Clayton Wilson
38aea790d8 UserDeleter 'unit tests' 2020-10-08 23:07:53 -04:00
Clayton Wilson
c5bb117136 User delete lambda 2020-10-08 17:49:50 -04:00
Clayton Wilson
925a249b4c user delete debugging 2020-10-08 12:34:14 -04:00
NMerz
8c526d3b8d SignOut and forced signout on delete
Added signout functionality and forced signout on delete.
2020-10-05 22:27:24 -04:00
NMerz
fe846fb81f Delete Lambda prototype
Prototype the User DELETE lambda. Amplify does not include this functionality, so putting it in a Lambda with the fine-grained API. This currently does not invalidate outstanding tokens nor does it clean up the database.
@claytonwwilson You will want to add the clean up code instead of the deleted stuff in UserDeleter
2020-10-05 12:29:28 -04:00