first
This commit is contained in:
commit
299007e990
29 changed files with 2887 additions and 0 deletions
49
permission.py
Normal file
49
permission.py
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
|
||||
|
||||
nwc_permissions = {
|
||||
"pay":{
|
||||
"name":"Send payments",
|
||||
"methods":[
|
||||
"multi_pay_invoice",
|
||||
"pay_invoice",
|
||||
"pay_keysend",
|
||||
"multi_pay_keysend",
|
||||
],
|
||||
"default": True
|
||||
},
|
||||
"invoice":{
|
||||
"name":"Create invoices",
|
||||
"methods":[
|
||||
"make_invoice"
|
||||
],
|
||||
"default": True
|
||||
},
|
||||
"lookup":{
|
||||
"name":"Lookup status of invoice",
|
||||
"methods":[
|
||||
"lookup_invoice"
|
||||
],
|
||||
"default": True
|
||||
},
|
||||
"history": {
|
||||
"name": "Read transaction history",
|
||||
"methods": [
|
||||
"list_transactions"
|
||||
],
|
||||
"default": True
|
||||
},
|
||||
"balance": {
|
||||
"name": "Read wallet balance",
|
||||
"methods": [
|
||||
"get_balance"
|
||||
],
|
||||
"default": True
|
||||
},
|
||||
"info": {
|
||||
"name": "Read account info",
|
||||
"methods": [
|
||||
"get_info"
|
||||
],
|
||||
"default": True
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue