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:
parent
0d717d7919
commit
7af4f0fd8f
|
@ -34,7 +34,6 @@ proc newPermissionsModel*(events: EventEmitter): PermissionsModel =
|
||||||
proc init*(self: PermissionsModel) =
|
proc init*(self: PermissionsModel) =
|
||||||
discard
|
discard
|
||||||
|
|
||||||
|
|
||||||
type Dapp* = object
|
type Dapp* = object
|
||||||
name*: string
|
name*: string
|
||||||
permissions*: HashSet[Permission]
|
permissions*: HashSet[Permission]
|
||||||
|
|
Loading…
Reference in New Issue