Commit Graph

9 Commits

Author SHA1 Message Date
d1a6fcaadc ch some
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-04 19:33:26 +05:00
1fd0abbcb2 Bind permissions to roles and scope operator access by branch.
Replace permission_user with permission_role, enforce RBAC on admin routes, and limit operators to their assigned branches.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 18:24:43 +05:00
d7cdd53597 Return role IDs on users and related names on loan APIs.
Loan orders, paid-off letters, and repayments now include user, branch, type, and document names alongside foreign-key IDs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:58:15 +05:00
9c07439089 Include assigned branches on GET user by ID.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 14:12:47 +05:00
6191b7536c Serve public MinIO files at /file/:file_name and add a native Ubuntu MinIO install.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 13:47:57 +05:00
71479f4355 Search users by username, first name, last name, and full name across all list endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 12:28:21 +05:00
fb65d35d3c Link seeded users to roles by code and list only clients not assigned to a branch.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 12:01:58 +05:00
514b9ca5fc Add forgot-password SMS reset, client/staff user lists, and regenerate Swagger.
Fold follow-up migrations into init, expose GET /users/clients and /users/staff, and refresh seed data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 16:42:47 +05:00
585ba63bc2 changed arhitecture 2026-07-15 18:08:19 +05:00