Package: useradmin

Standalone user management admin panel — list, impersonate, and manage users and roles.

Package: useradmin

A standalone user management admin panel, externalized in v0.40. It provides CRUD over userstore users — listing, editing, role assignment, and impersonation — wired to the host app through callback-based adapters rather than direct store coupling.

Repository: https://github.com/dracory/useradmin

Installation

go get github.com/dracory/useradmin

Features

  • User listing, search, and editing.
  • Role management (requires the v0.45+ roles tables).
  • Callback-driven — the host app supplies user-fetching callbacks, so the module isn't bound to one store implementation.
  • Renders through the host app's admin layout.

Integration

Mounted under internal/controllers/admin; adapters in internal/controllers/admin/adapters provide the callbacks that resolve the app's authenticated user, admin layout, and userstore access.