1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers/permissions
Mark Stacey 6ca18c3573
Fix handling of permissions of removed accounts (#8803)
Imported accounts can be removed, but the permissions controller is not
informed when this happens. Permissions are now removed as part of the
account removal process.

Additionally, the `getPermittedIdentitiesForCurrentTab` selector now
filters out any non-existent accounts, in case a render occurs in the
middle of an account removal.

This was resulting in a render crash upon opening the popup on a site
that was connected to the removed account.
2020-06-15 10:27:27 -03:00
..
enums.js Limit Dapp permissions to primary account (#8653) 2020-05-27 22:35:09 -05:00
index.js Fix handling of permissions of removed accounts (#8803) 2020-06-15 10:27:27 -03:00
methodMiddleware.js Send accountsChanged notification for wallet_requestPermissions (#8742) 2020-06-04 12:15:52 -07:00
permissionsLog.js Manually connect via the full connect flow 2020-05-27 21:45:41 -02:30
restrictedMethods.js Localize permission descriptions (#8661) 2020-05-27 18:15:10 -02:30