Skip to content

Commit

Permalink
fix: dapp permissions (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicvladan authored Sep 1, 2023
1 parent 9f39022 commit 055bc4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/services/storage/storage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,11 @@ export class Storage {
dappId,
}

if (!updatedDapp.fullStorageAccess && Object.keys(updatedDapp.podPermissions).length === 0) {
if (
!updatedDapp.fullStorageAccess &&
!updatedDapp.accountInfoAccess &&
Object.keys(updatedDapp.podPermissions).length === 0
) {
delete dapps[dappId]
} else {
dapps[dappId] = updatedDapp
Expand Down

0 comments on commit 055bc4d

Please sign in to comment.