feat: dapp browser privileges

- Create privilege dialogs dynamically for each privilege requested
- Check if a privilege has been granted before to determine if dialog must be shown or not
- If dapp is allowed to use privilege, save it in the settings
This commit is contained in:
Richard Ramos 2020-09-29 13:02:20 -04:00 committed by Iuri Matias
parent 0d717d7919
commit 7af4f0fd8f
1 changed files with 0 additions and 1 deletions

View File

@ -34,7 +34,6 @@ proc newPermissionsModel*(events: EventEmitter): PermissionsModel =
proc init*(self: PermissionsModel) =
discard
type Dapp* = object
name*: string
permissions*: HashSet[Permission]