Skip to content

Feature: Admin view to manage Pay Links across all users #118

@BenGWeeks

Description

@BenGWeeks

Description

Currently, an LNbits administrator must log in as each individual user to view or manage their Pay Links. For family setups or small organizations where one person administers LNbits for multiple users, this is cumbersome and time-consuming.

Use Case

I run a family LNbits instance with pay links for:

  • Myself
  • My wife
  • My children

When I need to:

  • Enable/disable zaps for someone
  • Update a pay link's settings
  • Troubleshoot an issue
  • Set up a new pay link for a family member

...I currently have to log out, log in as that user, make the change, log out, and log back into my account. This is tedious, especially for routine maintenance.

Proposed Solution

Add an Admin Panel view in the Pay Links extension that allows superusers/admins to:

  1. View all Pay Links across all users in a single table
  2. Filter/search by username, Lightning address, or wallet
  3. Edit any Pay Link directly (with audit logging of admin actions)
  4. Create Pay Links on behalf of other users
  5. Bulk operations (e.g., enable zaps for all pay links)

UI Suggestion

  • Add an "Admin View" toggle or tab in the Pay Links extension (visible only to superusers)
  • Show a column for "Owner/User" in the admin view
  • Maintain existing per-user view for non-admins

Benefits

  • Streamlined administration for family/team LNbits instances
  • Faster troubleshooting without account switching
  • Better oversight of all pay links on the instance
  • Reduced friction for setting up pay links for less technical users

Security Considerations

  • Only visible to LNbits superusers
  • Log all admin actions for audit trail
  • Consider optional "require confirmation" for destructive actions

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions