hako/internal/model
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. 484b225af7
feat: add user administration API and UI
Add admin-only CRUD endpoints for user management under /api/v1/system/users
with full frontend implementation including create, edit, change password,
and delete operations with self-protection guards.

- Extend AuthDomain interface with ListUsers, GetUser, UpdateUser,
  UpdateUserPassword, DeleteUser methods
- Add List, Update, Delete methods to UserStore with shared scanUser helper
- Create UserHandler with 5 endpoints protected by admin middleware
- Complete Users.vue admin page with modals and error handling
- Make CreateUser accept role parameter for atomic user creation
- Fix auth middleware to use database role as source of truth instead of
  stale JWT claims, preventing privilege persistence after demotion
- Fix pre-existing gofmt issues in yt_dlp.go and config.go
2026-04-02 10:33:36 +02:00
..
archival.go refactor: names for archivers and extractors with admin sections for configuration 2026-01-10 17:26:14 +01:00
auth.go chore: make format 2026-01-12 19:35:18 +01:00
dependencies.go chore: make format 2026-01-12 19:35:18 +01:00
domains.go feat: add user administration API and UI 2026-04-02 10:33:36 +02:00
errors.go chore: make format 2026-01-12 19:35:18 +01:00
jobs.go chore: make format 2026-01-12 19:35:18 +01:00
storage.go refactor: restructure domain services to use a centralized dependencies model 2026-01-06 12:20:27 +01:00
version.go feat: enhance build configuration and implement versioning 2026-01-03 13:49:17 +01:00