VizerISD / personalhealthcarewallet

Personal Healthcare Wallet 🏥
https://market.oceanprotocol.com
Apache License 2.0
1 stars 0 forks source link

Add Additional Safety Checks When Revoking/Granting Access #64

Closed hanson-lam closed 1 year ago

hanson-lam commented 1 year ago

Since granting/revoking access is an important action, accidentally revoking/granting is something that we want to prevent. As such, we want to add more safeguards when users perform an action.

Some suggestion ideas are:

1) Adding additional pop-ups so that people understand what they are exactly doing. Here is an example of me trying to delete a GitHub repository.

Screenshot 2023-04-18 at 6 16 17 PM

2) Make users type out the full name of the doctor. This is similar to what GitHub makes you do when deleting a repository again.

Screenshot 2023-04-18 at 6 14 18 PM

they are trying to grant/revoke access to

3) Add a latency between granting access to multiple doctors.

IanMacDougall commented 1 year ago

@IanMacDougall will take this issue since he has the most experience with the grant access window. I'll explore the pop-up window and type-to-confirm options. If I come up with a different approach before/during development, I will document it here!