lightninglabs / lightning-node-connect

MIT License
78 stars 22 forks source link

wasm: update HasPermissions to account for custom perms #59

Closed ellemouton closed 1 year ago

ellemouton commented 1 year ago

This commit updates the HasPermissions function to account for the case where the session has custom permissions which would specify "uri" as the permission entity and the actual URI as the permission action.

works with https://github.com/lightninglabs/lightning-terminal/pull/438