Skip to content

Wildcard permissions support #439

Closed
@itsrachelfish

Description

@itsrachelfish

Is your feature request related to a problem? Please describe.
As of #438 it is now possible to create custom macaroons with permission to access specific URIs. However, there are hundreds of possible URIs available in lnrpc, looprpc, poolrpc, and frdrpc.

Describe the solution you'd like
It may be useful in some situations to allow wildcard permissions, for example, to allow access to all of the URIs in poolrpc while still enforcing more granular control over lnrpc.

litcli  s a \
    --label=Example \
    --type=custom \
    --uri_list=/lnrpc.Lightning/ListPeers,/lnrpc.Lightning/ListChannels,/poolrpc.Trader/*

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions