Skip to content

[Feature Request]: Remove permission by accountID, appName and address #15

@simonmcl

Description

@simonmcl

There are currently 3 methods for removing permissions removeAll, removeForAccount and removeByType. When theres only 1 wallet, all will do the same thing, as the accountIdentifier is always the same:

 storageManager.removeAllPermissions(where: { $0.accountID == accountIdentifier })

What i'm looking for is to remove a permissions for a specific app. I want to give users the ability to say remove permission for OBJKT.com, for wallet address X. So something more like

 storageManager.removeAllPermissions(where: { $0.appMetadata.senderID == app && $0.address == address })

I'm not sure if accountID is needed in the above as well or not

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions