lightninglabs / lightninglabs/lightning-api-ng

Add macaroon permissions to calls

Open
#11 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Now that the generator is written completely in Go, we can use the [`perms.Manager`](https://github.com/lightninglabs/lightning-terminal/blob/master/perms/permissions.go) from Lightning Terminal to determine the required macaroon permissions for each call.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Go API generator and the linked perms.Manager implementation in Lightning Terminal to understand how required macaroon permissions are represented and assigned to calls. Done means generated calls carry the appropriate permissions, with coverage or verification for the generated output where the repository supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authorization, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.