Admin endpoint: POST /api/v1/admin/accounts for chart-of-accounts entries #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Backend API stub for admin-driven chart-of-accounts editing from the LNbits UI. v1 scope: add only. Edit/rename/mark-closed are tracked separately.
Depends on
fava_client.add_accountgaining atarget_fileparameter (companion issue).Work
views_api.pynear line 3601 (next to existing admin account-sync endpoint):require_super_useris the right guard (per~/dev/shared/extensions/libra/CLAUDE.md:check_adminis wallet-key,check_super_useris instance super-user — this is the latter)Assets:|Liabilities:|Equity:|Income:|Expenses:prefix, valid component chars)Acceptance
opendirective appears in/var/lib/fava/accounts/chart.beancountget_all_accountsaccount_sync.sync_single_account_from_beancountPlan reference:
~/.claude/plans/elegant-bubbling-frog.mdsection B.3.Follow-up issue (not this one): admin UI frontend.