lightninglabs / lightning-node-connect

MIT License
78 stars 22 forks source link

Makefile+wasm-client: add LND subserver perms #55

Closed ellemouton closed 1 year ago

ellemouton commented 1 year ago

In this commit, all the rpc subserver tags of LND are included in the build so that the permissions of all the subservers can be extracted. These permissions are then included in the permissions list used by the HasPermissions function.

This is a temporary work around for now. I would like to open a PR in LND that exports the perms of the various subservers and perhaps also puts them all in a single directory so that we only need to import that.

This PR along side https://github.com/lightninglabs/lightning-terminal/pull/413, addresses https://github.com/lightninglabs/lnc-web/issues/60

https://github.com/lightninglabs/lightning-node-connect/pull/54 can be used to test this