Open ShaneMcC opened 6 years ago
Probably gonna implement this something like:
pendingAccess
table (domainid
, email
, accessLevel
, addedByUser
, expiresTime
, response
)
email
as their email and send them a message to let them know someone wants to share access to a domain.email
to accept/reject the request (if they haven't already rejected).addedByUser
that the request was accepted (in case they forgot about the access request, to remind them that someone else now has access to the domain) and remove the pendingAccess request.I think. Will mull it over some more before actually implementing.
Similar to #18 but a lot more annoying to solve as we store access in the DB keyed off the userid incase the user changes their email address.