Commit Graph

14 Commits

Author SHA1 Message Date
323e131216 changed role permission
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-26 16:34:28 +05:00
0971158e98 ch users <-> branches
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-18 22:59:58 +05:00
d3e188affe ch logika
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-18 11:53:37 +05:00
e0d03730de added soft deleted
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-05 17:58:23 +05:00
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
8795ae2195 Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 17:56:07 +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
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
0788585c0e Assign users to roles via role_user and drop unused social media and light-mode fields.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:13:53 +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