mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
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…
x
Reference in New Issue
Block a user