Skip to content

feature request: add RegisterReadOnlyRPCMiddleware method to rpc #6839

Open
@gkrizek

Description

@gkrizek

Background

When trying to register with the RPC Middleware using the readonly.macaroon, I get a permission denied error.

Your environment

  • LND 0.15.1.rc1
  • MacOS and Ubuntu
  • btcd 0.23.1

Steps to reproduce

Attempt to register with the RPC Middleware with a readonly.macaroon.

Expected behaviour

I think the readonly macaroon should be able to listen to the RPC Middleware. Obviously it should not be able to make and changes or adjustments in the middleware. But simple being able to read the stream seems like it's in line with what a readonly macaroon can do. I want to be able to see the RPC requests in my node without letting the process make modifications.

Actual behaviour

The only way I can see the RPC requests is via an Admin macaroon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions