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:
- View all Pay Links across all users in a single table
- Filter/search by username, Lightning address, or wallet
- Edit any Pay Link directly (with audit logging of admin actions)
- Create Pay Links on behalf of other users
- 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
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:
When I need to:
...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:
UI Suggestion
Benefits
Security Considerations